|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objectjavax.xml.parsers.SAXParser
net.sf.ediknight.xml.XMLParser<XMLFormat>
net.sf.ediknight.codec.xml.parser.XMLParser
public final class XMLParser
This is the XML parser.
| Field Summary | |
|---|---|
private XMLRecognizer |
recognizer
|
private SAXParser |
saxParser
The SAX parser. |
| Constructor Summary | |
|---|---|
XMLParser()
Constructor. |
|
| Method Summary | |
|---|---|
Parser |
getParser()
|
Object |
getProperty(String name)
|
net.sf.ediknight.Recognizer<XMLFormat> |
getRecognizer()
|
XMLReader |
getXMLReader()
|
boolean |
isNamespaceAware()
|
boolean |
isValidating()
|
void |
parse(File file)
|
void |
parse(InputStream stream)
|
void |
setProperty(String name,
Object value)
|
| Methods inherited from class javax.xml.parsers.SAXParser |
|---|
getSchema, isXIncludeAware, parse, parse, parse, parse, parse, parse, parse, parse, parse, parse, reset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private SAXParser saxParser
private XMLRecognizer recognizer
| Constructor Detail |
|---|
public XMLParser()
throws ParserConfigurationException,
SAXException
ParserConfigurationException - in case of a serious
configuration error
SAXException - if a general SAX error occurs| Method Detail |
|---|
public Parser getParser()
throws SAXException
getParser in class SAXParserSAXExceptionSAXParser.getParser()
public Object getProperty(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
getProperty in class SAXParserSAXNotRecognizedException
SAXNotSupportedExceptionSAXParser.getProperty(
java.lang.String)public boolean isNamespaceAware()
isNamespaceAware in class SAXParserSAXParser.isNamespaceAware()public boolean isValidating()
isValidating in class SAXParserSAXParser.isValidating()
public void setProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
setProperty in class SAXParserSAXNotRecognizedException
SAXNotSupportedExceptionSAXParser.setProperty(
java.lang.String, java.lang.Object)
public void parse(File file)
throws IOException,
net.sf.ediknight.ParseException
IOException
net.sf.ediknight.ParseExceptionParser.parse(java.io.File)
public void parse(InputStream stream)
throws IOException,
net.sf.ediknight.ParseException
IOException
net.sf.ediknight.ParseExceptionParser.parse(java.io.InputStream)public net.sf.ediknight.Recognizer<XMLFormat> getRecognizer()
Parser.getRecognizer()
public XMLReader getXMLReader()
throws SAXException
getXMLReader in interface net.sf.ediknight.Parser<XMLFormat>getXMLReader in class SAXParserSAXExceptionSAXParser.getXMLReader(),
Parser.getXMLReader()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||