|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.qedeq.kernel.xml.tracker.XPathLocationParser
Parser for XML files. This class uses features specific for Xerces.
Constructor Summary | |
XPathLocationParser(String xpath)
Constructor. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
|
void |
endDocument()
|
void |
endElement(String namespaceURI,
String localName,
String qName)
|
void |
endPrefixMapping(String prefix)
|
SimpleXPath |
getFind()
Get searched XPath. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
|
void |
parse(File file)
Parses XML file. |
void |
parse(String fileName)
Parses XML file. |
void |
parse(TextInput input)
Parses XML file. |
void |
processingInstruction(String target,
String data)
|
void |
setDocumentLocator(Locator locator)
Receive a Locator object for document events. |
void |
skippedEntity(String name)
|
void |
startDocument()
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts)
|
void |
startPrefixMapping(String prefix,
String uri)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathLocationParser(String xpath) throws ParserConfigurationException, SAXException
xpath
- XML file path.
ParserConfigurationException
- Severe parser configuration problem.
SAXException
Method Detail |
public final void parse(String fileName) throws SAXException, IOException
fileName
- Parse this input.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public final void parse(File file) throws SAXException, IOException
file
- Parse this input.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public final void parse(TextInput input) throws SAXException, IOException
input
- Parse this input.
SAXException
- Syntactical or semantical problem occurred.
IOException
- Technical problem occurred.public void endDocument() throws SAXException
endDocument
in interface ContentHandler
SAXException
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
SAXException
public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException
ignorableWhitespace
in interface ContentHandler
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
SAXException
public void skippedEntity(String name) throws SAXException
skippedEntity
in interface ContentHandler
SAXException
public final void setDocumentLocator(Locator locator)
setDocumentLocator
in interface ContentHandler
locator
- A locator for all SAX document events.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
,
Locator
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
SAXException
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
SAXException
public void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
SAXException
public SimpleXPath getFind()
|
Hilbert II - Version 0.03.04 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
©left GNU General Public Licence All Rights Reserved. |