|
Qizx fe-4.4p2 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 ModelMethod Detail |
---|
public void parse(InputSource inputSource) throws IOException, SAXException
XMLReader.parse(InputSource)
,
ignores the InputSource.
parse
in interface XMLReader
inputSource
- ignored
IOException
SAXException
public void parse(String systemId) throws IOException, SAXException
XMLReader.parse(String)
,
ignores the systemId.
parse
in interface XMLReader
systemId
- ignored
IOException
SAXException
public ContentHandler getContentHandler()
getContentHandler
in interface XMLReader
public void setContentHandler(ContentHandler handler)
setContentHandler
in interface XMLReader
public DTDHandler getDTDHandler()
getDTDHandler
in interface XMLReader
public void setDTDHandler(DTDHandler handler)
setDTDHandler
in interface XMLReader
public EntityResolver getEntityResolver()
getEntityResolver
in interface XMLReader
public void setEntityResolver(EntityResolver resolver)
setEntityResolver
in interface XMLReader
public ErrorHandler getErrorHandler()
getErrorHandler
in interface XMLReader
public void setErrorHandler(ErrorHandler handler)
setErrorHandler
in interface XMLReader
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty
in interface XMLReader
SAXNotRecognizedException
SAXNotSupportedException
|
© 2010 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |