|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.media.mn8.protocol.jabber.xmlparser.XMLParser
The main XML Parser class.
Constructor Summary | |
XMLParser(XMLEventListener _eventHandler)
Constructor, Used to override default dispatcher. |
Method Summary | |
int |
getNextCharacter()
Method to get the next character from the input stream. |
void |
parse(InputStream _is)
Parse wrapper for InputStreams |
void |
parse(Reader _inputReader)
The main parsing loop. |
void |
setInputUTF8Encoded(boolean flag)
Method to set the flag to state whether or not the input is UTF-8 encoded. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLParser(XMLEventListener _eventHandler)
_eventHandler
- The event handle to dispatch events through.Method Detail |
public void setInputUTF8Encoded(boolean flag)
flag
- True if UTF-8 decoding should be performed on the input
stream, false if not.public int getNextCharacter() throws IOException
IOException
public void parse(InputStream _is) throws IOException
IOException
public void parse(Reader _inputReader) throws IOException
_inputReader
- The reader for the XML stream.
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |