| java.lang.Object com.icesoft.jasper.xmlparser.ParserUtils
ParserUtils | public class ParserUtils (Code) | | XML parsing utilities for processing web application deployment descriptor
and tag library descriptor files. FIXME - make these use a separate class
loader for the parser to be used.
author: Craig R. McClanahan version: $Revision: 1.10 $ $Date: 2004/03/17 19:23:05 $ |
Method Summary | |
protected TreeNode | convert(TreeNode parent, Node node) Create and return a TreeNode that corresponds to the specified Node,
including processing all of the attributes and children nodes. | public TreeNode | parseXMLDocument(String uri, InputStream is) Parse the specified XML document, and return a TreeNode that
corresponds to the root node of the document tree. |
entityResolver | public static EntityResolver entityResolver(Code) | | An entity resolver for use when parsing XML documents.
|
errorHandler | static ErrorHandler errorHandler(Code) | | An error handler for use when parsing XML documents.
|
validating | public static boolean validating(Code) | | |
convert | protected TreeNode convert(TreeNode parent, Node node)(Code) | | Create and return a TreeNode that corresponds to the specified Node,
including processing all of the attributes and children nodes.
Parameters: parent - The parent TreeNode (if any) for the new TreeNode Parameters: node - The XML document Node to be converted |
parseXMLDocument | public TreeNode parseXMLDocument(String uri, InputStream is) throws JasperException(Code) | | Parse the specified XML document, and return a TreeNode that
corresponds to the root node of the document tree.
Parameters: uri - URI of the XML document being parsed Parameters: is - Input stream containing the deployment descriptor throws: JasperException - if an input/output error occurs throws: JasperException - if a parsing error occurs |
|
|