org.apache.jasper.xmlparser
Class ParserUtils
java.lang.Objectorg.apache.jasper.xmlparser.ParserUtils
public class ParserUtils
extends java.lang.Object
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.
$Revision: 466606 $ $Date: 2006-10-21 17:07:12 -0600 (Sat, 21 Oct 2006) $
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.
|
validating
public static boolean validating
convert
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.
parent - The parent TreeNode (if any) for the new TreeNodenode - The XML document Node to be converted
parseXMLDocument
public TreeNode parseXMLDocument(String uri,
InputSource is)
throws JasperException Parse the specified XML document, and return a TreeNode
that corresponds to the root node of the document tree.
uri - URI of the XML document being parsedis - Input source containing the deployment descriptor
parseXMLDocument
public TreeNode parseXMLDocument(String uri,
InputStream is)
throws JasperException Parse the specified XML document, and return a TreeNode
that corresponds to the root node of the document tree.
uri - URI of the XML document being parsedis - Input stream containing the deployment descriptor
Copyright ?? 2000-2004 Apache Software Foundation. All Rights Reserved.