Package com.bea.xml.stream
Class EventScanner
java.lang.Object
com.bea.xml.stream.EventScanner
This class replays events from a simple non-xml file format
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
reader
-
currentChar
protected char currentChar -
currentLine
protected int currentLine
-
-
Constructor Details
-
EventScanner
public EventScanner() -
EventScanner
- Throws:
IOException
-
-
Method Details
-
setReader
- Throws:
IOException
-
readString
- Throws:
IOException
XMLStreamException
-
getChar
protected char getChar() -
skipSpace
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
XMLStreamException
IOException
-
read
- Throws:
XMLStreamException
IOException
-
readType
- Throws:
XMLStreamException
IOException
-
readStartElement
- Throws:
XMLStreamException
IOException
-
readEndElement
- Throws:
XMLStreamException
IOException
-
readProcessingInstruction
- Throws:
XMLStreamException
IOException
-
readCharacterData
- Throws:
XMLStreamException
IOException
-
readCDATA
- Throws:
XMLStreamException
IOException
-
readStartDocument
- Throws:
XMLStreamException
IOException
-
readDTD
- Throws:
XMLStreamException
IOException
-
readEndDocument
- Throws:
XMLStreamException
-
readComment
- Throws:
XMLStreamException
IOException
-
getPrefix
-
getName
-
readName
- Throws:
XMLStreamException
IOException
-
readName
- Throws:
XMLStreamException
IOException
-
readAttributes
- Throws:
XMLStreamException
IOException
-
readAttribute
- Throws:
XMLStreamException
IOException
-
readEntityReference
- Throws:
XMLStreamException
IOException
-
readSpace
- Throws:
XMLStreamException
IOException
-
readElement
- Throws:
XMLStreamException
IOException
-
endDocumentIsPresent
public boolean endDocumentIsPresent() -
hasNext
- Throws:
IOException
-
main
- Throws:
Exception
-