|
Qizx/open 4.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.qizx.api.util.NodeXMLReader
public class NodeXMLReader
Allows a Node to be used as a source of SAX events.
The parse methods traverse the sub-tree of the node and generate SAX events. The specified input is ignored.
| Constructor Summary | |
|---|---|
NodeXMLReader(Node rootNode)
Builds a NodeXMLReader with a Node as a source. |
|
| Method Summary | |
|---|---|
ContentHandler |
getContentHandler()
|
DTDHandler |
getDTDHandler()
|
EntityResolver |
getEntityResolver()
|
ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(String name)
|
Object |
getProperty(String name)
|
void |
parse(InputSource inputSource)
Re-implementation of XMLReader.parse(InputSource),
ignores the InputSource. |
void |
parse(String systemId)
Re-implementation of XMLReader.parse(String),
ignores the systemId. |
void |
setContentHandler(ContentHandler handler)
|
void |
setDTDHandler(DTDHandler handler)
|
void |
setEntityResolver(EntityResolver resolver)
|
void |
setErrorHandler(ErrorHandler handler)
|
void |
setFeature(String name,
boolean value)
|
void |
setProperty(String name,
Object value)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeXMLReader(Node rootNode)
rootNode - a Node of the XQuery Data Model| Method Detail |
|---|
public void parse(InputSource inputSource)
throws IOException,
SAXException
XMLReader.parse(InputSource),
ignores the InputSource.
parse in interface XMLReaderinputSource - ignored
IOException
SAXException
public void parse(String systemId)
throws IOException,
SAXException
XMLReader.parse(String),
ignores the systemId.
parse in interface XMLReadersystemId - ignored
IOException
SAXExceptionpublic ContentHandler getContentHandler()
getContentHandler in interface XMLReaderpublic void setContentHandler(ContentHandler handler)
setContentHandler in interface XMLReaderpublic DTDHandler getDTDHandler()
getDTDHandler in interface XMLReaderpublic void setDTDHandler(DTDHandler handler)
setDTDHandler in interface XMLReaderpublic EntityResolver getEntityResolver()
getEntityResolver in interface XMLReaderpublic void setEntityResolver(EntityResolver resolver)
setEntityResolver in interface XMLReaderpublic ErrorHandler getErrorHandler()
getErrorHandler in interface XMLReaderpublic void setErrorHandler(ErrorHandler handler)
setErrorHandler in interface XMLReader
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
getFeature in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
setFeature in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
getProperty in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
setProperty in interface XMLReaderSAXNotRecognizedException
SAXNotSupportedException
|
© 2010 Axyana Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||