|
Xerces 3.1.1 API: Class ParserAdapter
|
Constructor Summary | |
Method Summary | |
void |
int start,
int length)
|
void |
|
void |
|
Return the current content handler. |
|
Return the current DTD handler. |
|
Return the current entity resolver. |
|
Return the current error handler. |
|
boolean |
|
java.lang.Object |
|
void |
int start,
int length)
|
void |
|
void |
|
void |
java.lang.String data)
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
boolean state)
|
void |
java.lang.Object value)
|
void |
|
void |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public ParserAdapter()
Note that the embedded parser cannot be changed once the adapter is created; to embed a different parser, allocate a new ParserAdapter.
parser
- The SAX1 parser to embed.Method Detail |
public void setFeature(java.lang.String name, boolean state)
The only features supported are namespaces and namespace-prefixes.
public boolean getFeature(java.lang.String name)
The only features supported are namespaces and namespace-prefixes.
public void setProperty(java.lang.String name, java.lang.Object value)
No special properties are currently supported.
public java.lang.Object getProperty(java.lang.String name)
No special properties are currently supported.
resolver
- The new entity resolver.resolver
- The new DTD handler.resolver
- The new content handler.resolver
- The new error handler.public void parse(java.lang.String systemId) throws java.io.IOException,
systemId
- The absolute URL of the document.throws java.io.IOException,
input
- An input source for the document.public void startDocument()
public void endDocument()
public void startElement(java.lang.String qName,
If necessary, perform Namespace processing.
qName
- The qualified (prefixed) name.qAtts
- The XML 1.0 attribute list (with qnames).public void endElement(java.lang.String qName)
public void characters(char[] ch, int start, int length)
public void ignorableWhitespace(char[] ch, int start, int length)
public void processingInstruction(java.lang.String target, java.lang.String data)
|
Xerces 3.1.1 | ||||||||
FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |