org.apache.jasper.xmlparser
public class ParserUtils extends Object
Version: $Revision: 466606 $ $Date: 2006-10-21 17:07:12 -0600 (Sat, 21 Oct 2006) $
Field Summary | |
---|---|
static boolean | validating |
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.
|
TreeNode | parseXMLDocument(String uri, InputSource is)
Parse the specified XML document, and return a TreeNode
that corresponds to the root node of the document tree.
|
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.
|
Parameters: parent The parent TreeNode (if any) for the new TreeNode node The XML document Node to be converted
TreeNode
that corresponds to the root node of the document tree.
Parameters: uri URI of the XML document being parsed is Input source containing the deployment descriptor
Throws: JasperException if an input/output error occurs JasperException if a parsing error occurs
TreeNode
that corresponds to the root node of the document tree.
Parameters: uri URI of the XML document being parsed is Input stream containing the deployment descriptor
Throws: JasperException if an input/output error occurs JasperException if a parsing error occurs