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: 306152 $ $Date: 2005-03-23 23:08:01 -0500 (Wed, 23 Mar 2005) $
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 B) 2000-2004 Apache Software Foundation. All Rights Reserved.