public class XmlParser extends AbstractParser
Normally, applications will use Xml, LooseXml, Html, or LooseHtml.
Modifier and Type | Class and Description |
---|---|
static class |
XmlParser.LocatorImpl |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XML |
static java.lang.String |
XMLNS |
Constructor and Description |
---|
XmlParser() |
Modifier and Type | Method and Description |
---|---|
void |
free() |
int |
getColumnNumber() |
java.lang.String |
getFilename()
Returns the current filename.
|
int |
getLine()
Returns the current line.
|
int |
getLineNumber() |
java.lang.String |
getPublicId()
Returns the current public id being read.
|
java.lang.String |
getSystemId()
Returns the current system id being read.
|
void |
pushNamespace(java.lang.String prefix,
java.lang.String uri) |
void |
setLine(int line) |
void |
setReader(XmlReader reader) |
void |
unread(int ch) |
getContentHandler, getDefaultEncoding, getDTDHandler, getEncoding, getEntitiesAsText, getEntityResolver, getErrorHandler, getFeature, getForgiving, getJsp, getProperty, getResinInclude, getSearchPath, getSkipComments, isCoalescing, isDtdValidating, isNamespaceAware, isNamespacePrefixes, isSAXNamespaces, isValidating, openSource, openStream, openStream, openStream, openTopStream, parse, parse, parse, parse, parse, parseDocument, parseDocument, parseDocument, parseDocument, parseDocument, parseDocument, parseDocumentString, parseImpl, parseString, setAutodetectXml, setCoalescing, setConfig, setContentHandler, setDefaultEncoding, setDocumentHandler, setDTDHandler, setDtdValidating, setEntitiesAsText, setEntityResolver, setErrorHandler, setExpandEntities, setFeature, setFilename, setForgiving, setJsp, setLexicalHandler, setLocale, setNamespaceAware, setNamespacePrefixes, setOwner, setProperty, setResinInclude, setSAXNamespaces, setSearchPath, setSkipComments, setSkipWhitespace, setToLower, setValidating
public static final java.lang.String XMLNS
public static final java.lang.String XML
public void pushNamespace(java.lang.String prefix, java.lang.String uri)
public java.lang.String getFilename()
public int getLine()
public java.lang.String getPublicId()
public java.lang.String getSystemId()
public void setLine(int line)
public int getLineNumber()
public int getColumnNumber()
public void setReader(XmlReader reader)
public void unread(int ch)
public void free()