|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.xml.parser.SaxParser
Parser for XML files. This class uses features specific for Xerces.
Field Summary | |
protected static String |
SCHEMA_FULL_CHECKING_FEATURE_ID
Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking). |
Constructor Summary | |
SaxParser(SaxDefaultHandler handler)
Constructor. |
Method Summary | |
ExceptionList |
getExceptionList()
Get errors that occurred during last parsing. |
void |
parse(File file)
Parses the XML file. |
void |
parse(InputStream in,
boolean validateOnly)
Parse input source. |
void |
parse(String fileName)
Parses XML file. |
void |
parse(URL url)
Parses the XML file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String SCHEMA_FULL_CHECKING_FEATURE_ID
Constructor Detail |
public SaxParser(SaxDefaultHandler handler) throws ParserConfigurationException, SAXException
handler
- Default handler for this application.
ParserConfigurationException
- Severe parser configuration problem.
SAXException
Method Detail |
public final void parse(String fileName) throws SAXException, IOException
fileName
- File name.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public final void parse(File file) throws SAXException, IOException
file
- File to parse.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public final void parse(URL url) throws SAXException, IOException
url
- URL with File to parse.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public void parse(InputStream in, boolean validateOnly) throws SAXException, IOException
in
- Parse data from this source.validateOnly
- Validate or parse with handler.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public ExceptionList getExceptionList()
|
Hilbert II - Version 0.03.01 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |