|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
org.apache.maven.XPathLocationTracker
public class XPathLocationTracker
Constructs an XPath expression in the form: /root/child[3]/grandchild[2] ...
| Constructor Summary | |
|---|---|
XPathLocationTracker()
|
|
| Method Summary | |
|---|---|
void |
endDocument()
Overriding ContentHandler. |
void |
endElement(String uri,
String localName,
String qName)
Overriding ContentHandler. |
String |
getXPath()
Gets the XPath expression that points to the current location. |
void |
startDocument()
Overriding ContentHandler. |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
Overriding ContentHandler. |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
characters, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XPathLocationTracker()
| Method Detail |
|---|
public void startDocument()
throws SAXException
startDocument in interface ContentHandlerstartDocument in class XMLFilterImplSAXException - SAXException
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class XMLFilterImplSAXException - SAXException
public void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class XMLFilterImpluri - urilocalName - localNameqName - qNameatts - atts
SAXException - SAXException
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class XMLFilterImpluri - urilocalName - localNameqName - qName
SAXException - SAXExceptionpublic final String getXPath()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||