|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.xml2.AbstractParser
com.caucho.xml2.XmlParser
public class XmlParser
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.
| Nested Class Summary | |
|---|---|
static class |
XmlParser.LocatorImpl
|
| Field Summary | |
|---|---|
static java.lang.String |
XML
|
static java.lang.String |
XMLNS
|
| Constructor Summary | |
|---|---|
XmlParser()
|
|
| Method Summary | |
|---|---|
void |
close()
|
protected boolean |
fillBuffer()
|
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. |
protected int |
read()
|
protected int |
readByte()
|
void |
setLine(int line)
|
void |
setReader(XmlReader reader)
|
void |
unread(int ch)
|
protected void |
unreadByte(int ch)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String XMLNS
public static final java.lang.String XML
| Constructor Detail |
|---|
public XmlParser()
| Method Detail |
|---|
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)
protected final int read()
throws java.io.IOException,
org.xml.sax.SAXException
java.io.IOException
org.xml.sax.SAXExceptionpublic final void unread(int ch)
protected boolean fillBuffer()
throws java.io.IOException
java.io.IOException
protected int readByte()
throws java.io.IOException
java.io.IOExceptionprotected void unreadByte(int ch)
public void free()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||