|
XML for Java 2.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
This is the interface to the scanner.
This class also provides the parser with location information through
the Locator interface.
XMLParser,
InputSource,
Locator| Method Summary | |
int |
getCurrentContentSpecType()
This method is temporary until we restructure the interface between DefaultScanner#scanContent and XMLReader#scanContent. |
Locator |
getLocator()
Return a Locator object for the parser to use. |
void |
reset(ParserState parserState)
Reset scanner between calls to scanDocument. |
void |
scanDocument(InputSource source)
Process the XML file. |
void |
stop()
Stops the scanner in a reasonable place and returns. |
| Method Detail |
public void reset(ParserState parserState)
parserState - The state to be used for the next parse.ParserState
public void scanDocument(InputSource source)
throws java.lang.Exception
source - Where to find the XML data.InputSourcepublic int getCurrentContentSpecType()
ElementDecl,
ElementDeclPool.getContentSpecType(int)public Locator getLocator()
Locator object for the parser to use.public void stop()
|
XML for Java 2.0.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||