|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.arch4j.xml.DefaultXMLStream
This class provides a default implementation of the XMLStream interface. It merely reports that it cannot parse the given data stream. This is a hint that an implementation of SAX needs to be put into place and a corresponding XMLStream class be built and referenced in the properties file.
Constructor Summary | |
DefaultXMLStream()
Constructs a DefaultXMLStream . |
Method Summary | |
void |
parse()
Parse the data in the stream. |
void |
setHandler(XMLHandler callbackHandler)
Set the handler that will receive callbacks during parsing. |
void |
setReader(Reader characterStream)
Set a Reader which has been opened on the data to parse. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultXMLStream()
DefaultXMLStream
.
Method Detail |
public void setReader(Reader characterStream)
setReader
in interface XMLStream
characterStream
- The stream upon which to read the data to parse.public void setHandler(XMLHandler callbackHandler)
setHandler
in interface XMLStream
callbackHandler
- The handler that will be called back during parsing.public void parse() throws XMLException
parse
in interface XMLStream
XMLException
- If the data stream cannot be parsed.
|
Arch4J 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |