| java.lang.Object com.caucho.xml.AbstractParser com.caucho.xml.XmlParser
All known Subclasses: com.caucho.xml.Html, com.caucho.xml.LooseXml, com.caucho.xml.LooseHtml, com.caucho.xml.Xml,
XmlParser | public class XmlParser extends AbstractParser (Code) | | A configurable XML parser. Loose versions of XML and HTML are supported
by changing the Policy object.
Normally, applications will use Xml, LooseXml, Html, or LooseHtml.
|
JSP_ATTRIBUTE_NAME | final static QName JSP_ATTRIBUTE_NAME(Code) | | |
WHITESPACE_NAME | final static QName WHITESPACE_NAME(Code) | | |
_elementLines | int[] _elementLines(Code) | | |
_elementTop | int _elementTop(Code) | | |
_eltName | CharBuffer _eltName(Code) | | |
_hasDoctype | boolean _hasDoctype(Code) | | |
_hasTopElement | boolean _hasTopElement(Code) | | |
_isIgnorableWhitespace | boolean _isIgnorableWhitespace(Code) | | |
_isJspText | boolean _isJspText(Code) | | |
_isTagStart | boolean _isTagStart(Code) | | |
_macroBuffer | char[] _macroBuffer(Code) | | |
_macroIndex | int _macroIndex(Code) | | |
_macroLength | int _macroLength(Code) | | |
_nameBuffer | CharBuffer _nameBuffer(Code) | | |
_stopOnIncludeEnd | boolean _stopOnIncludeEnd(Code) | | |
_textBuffer | char[] _textBuffer(Code) | | |
_textCapacity | int _textCapacity(Code) | | |
_textLength | int _textLength(Code) | | |
XmlParser | public XmlParser()(Code) | | |
XmlParser | XmlParser(Policy policy, QDocumentType dtd)(Code) | | Creates a new parser with a given parsing policy and dtd.
Parameters: policy - the parsing policy, handling optional tags. Parameters: dtd - the parser's dtd. |
badChar | static String badChar(int ch)(Code) | | Returns a user-readable string for an error character.
|
getColumnNumber | public int getColumnNumber()(Code) | | |
getFilename | public String getFilename()(Code) | | Returns the current filename.
|
getLine | public int getLine()(Code) | | Returns the current line.
|
getLineNumber | public int getLineNumber()(Code) | | |
getNodeLine | int getNodeLine()(Code) | | Returns the opening line of the current node.
|
getPublicId | public String getPublicId()(Code) | | Returns the current public id being read.
|
getSystemId | public String getSystemId()(Code) | | Returns the current system id being read.
|
init | void init()(Code) | | Initialize the parser.
|
setLine | public void setLine(int line)(Code) | | |
unread | public void unread(int ch)(Code) | | |
Methods inherited from com.caucho.xml.AbstractParser | void clear()(Code)(Java Doc) public ContentHandler getContentHandler()(Code)(Java Doc) public DTDHandler getDTDHandler()(Code)(Java Doc) public String getDefaultEncoding()(Code)(Java Doc) public boolean getEntitiesAsText()(Code)(Java Doc) public EntityResolver getEntityResolver()(Code)(Java Doc) public ErrorHandler getErrorHandler()(Code)(Java Doc) public boolean getFeature(String name) throws SAXNotRecognizedException(Code)(Java Doc) public boolean getForgiving()(Code)(Java Doc) public boolean getJsp()(Code)(Java Doc) public Object getProperty(String name) throws SAXNotRecognizedException(Code)(Java Doc) public boolean getResinInclude()(Code)(Java Doc) public Path getSearchPath()(Code)(Java Doc) public boolean getSkipComments()(Code)(Java Doc) void init()(Code)(Java Doc) public boolean isCoalescing()(Code)(Java Doc) public boolean isNamespaceAware()(Code)(Java Doc) public boolean isNamespacePrefixes()(Code)(Java Doc) public boolean isSAXNamespaces()(Code)(Java Doc) public boolean isValidating()(Code)(Java Doc) protected InputStream openSource(InputSource source) throws IOException, SAXException(Code)(Java Doc) public InputStream openStream(String systemId, String publicId) throws IOException, SAXException(Code)(Java Doc) public InputStream openStream(String systemId, String publicId, EntityResolver entityResolver) throws IOException, SAXException(Code)(Java Doc) protected InputStream openStream(String systemId, String publicId, EntityResolver entityResolver, boolean isTop) throws IOException, SAXException(Code)(Java Doc) public InputStream openTopStream(String systemId, String publicId) throws IOException, SAXException(Code)(Java Doc) public void parse(InputSource source) throws IOException, SAXException(Code)(Java Doc) public void parse(InputStream is) throws IOException, SAXException(Code)(Java Doc) public void parse(InputStream is, String systemId) throws IOException, SAXException(Code)(Java Doc) public void parse(String systemId) throws IOException, SAXException(Code)(Java Doc) public void parse(Path path) throws IOException, SAXException(Code)(Java Doc) public Document parseDocument(InputSource source) throws IOException, SAXException(Code)(Java Doc) public Document parseDocument(String systemId) throws IOException, SAXException(Code)(Java Doc) public Document parseDocument(Path path) throws IOException, SAXException(Code)(Java Doc) public Document parseDocument(InputStream is) throws IOException, SAXException(Code)(Java Doc) public Document parseDocument(InputStream is, String systemId) throws IOException, SAXException(Code)(Java Doc) public void parseDocument(QDocument doc, InputStream is, String systemId) throws IOException, SAXException(Code)(Java Doc) public Document parseDocumentString(String string) throws IOException, SAXException(Code)(Java Doc) public void parseImpl(InputStream is, String systemId) throws IOException, SAXException(Code)(Java Doc) abstract Document parseInt(ReadStream is) throws IOException, SAXException(Code)(Java Doc) public void parseString(String string) throws IOException, SAXException(Code)(Java Doc) public void setAutodetectXml(boolean autodetectXml)(Code)(Java Doc) public void setCoalescing(boolean isCoalescing)(Code)(Java Doc) public void setConfig(DocumentBuilderFactory factory)(Code)(Java Doc) public void setContentHandler(ContentHandler handler)(Code)(Java Doc) public void setDTDHandler(DTDHandler handler)(Code)(Java Doc) public void setDefaultEncoding(String encoding)(Code)(Java Doc) public void setDocumentHandler(DocumentHandler handler)(Code)(Java Doc) public void setEntitiesAsText(boolean entitiesAsText)(Code)(Java Doc) public void setEntityResolver(EntityResolver resolver)(Code)(Java Doc) public void setErrorHandler(ErrorHandler handler)(Code)(Java Doc) public void setExpandEntities(boolean expandEntities)(Code)(Java Doc) public void setFeature(String name, boolean value) throws SAXNotSupportedException(Code)(Java Doc) public void setFilename(String filename)(Code)(Java Doc) public void setForgiving(boolean forgiving)(Code)(Java Doc) public void setJsp(boolean isJsp)(Code)(Java Doc) public void setLexicalHandler(LexicalHandler handler)(Code)(Java Doc) public void setLocale(Locale locale)(Code)(Java Doc) public void setNamespaceAware(boolean isNamespaceAware)(Code)(Java Doc) public void setNamespacePrefixes(boolean isNamespaces)(Code)(Java Doc) public void setOwner(QDocument doc)(Code)(Java Doc) public void setProperty(String name, Object obj) throws SAXNotSupportedException(Code)(Java Doc) public void setResinInclude(boolean doResinInclude)(Code)(Java Doc) public void setSAXNamespaces(boolean isNamespaces)(Code)(Java Doc) public void setSearchPath(Path path)(Code)(Java Doc) public void setSkipComments(boolean skipComments)(Code)(Java Doc) public void setSkipWhitespace(boolean skipWhitespace)(Code)(Java Doc) public void setToLower(boolean toLower)(Code)(Java Doc) public void setValidating(boolean isValidating)(Code)(Java Doc)
|
|
|