|
||||||||||
| 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.taglibs.standard.extra.spath.SPathFilter
public class SPathFilter
Filters a SAX stream based on a single supplied SPath expression.
| Field Summary | |
|---|---|
protected List |
steps
The steps in the SPath expression we use for filtering. |
| Constructor Summary | |
|---|---|
SPathFilter(Path path)
Constructs a new SPathFilter, given a Path. |
|
| Method Summary | |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Filter for characters(). |
void |
endElement(String uri,
String localName,
String qName)
Filter for endElement(). |
void |
endPrefixMapping(String prefix)
Filter for endPrefixMapping(). |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Filter for ignoreableWhitespace(). |
static boolean |
nodeMatchesStep(Step s,
String uri,
String localName,
String qName,
Attributes a)
|
void |
processingInstruction(String target,
String data)
Filter for processingInstruction(). |
void |
skippedEntity(String name)
Filter for skippedEntity(). |
void |
startDocument()
Resets state. |
void |
startElement(String uri,
String localName,
String qName,
Attributes a)
Filter for startElement(). |
void |
startPrefixMapping(String prefix,
String uri)
Filter for startPrefixMapping(). |
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
endDocument, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, notationDecl, parse, parse, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected List steps
| Constructor Detail |
|---|
public SPathFilter(Path path)
| Method Detail |
|---|
public void startElement(String uri,
String localName,
String qName,
Attributes a)
throws SAXException
startElement in interface ContentHandlerstartElement in class XMLFilterImplSAXException
public void endElement(String uri,
String localName,
String qName)
throws SAXException
endElement in interface ContentHandlerendElement in class XMLFilterImplSAXException
public void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerignorableWhitespace in class XMLFilterImplSAXException
public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class XMLFilterImplSAXException
public void startPrefixMapping(String prefix,
String uri)
throws SAXException
startPrefixMapping in interface ContentHandlerstartPrefixMapping in class XMLFilterImplSAXException
public void endPrefixMapping(String prefix)
throws SAXException
endPrefixMapping in interface ContentHandlerendPrefixMapping in class XMLFilterImplSAXException
public void processingInstruction(String target,
String data)
throws SAXException
processingInstruction in interface ContentHandlerprocessingInstruction in class XMLFilterImplSAXException
public void skippedEntity(String name)
throws SAXException
skippedEntity in interface ContentHandlerskippedEntity in class XMLFilterImplSAXExceptionpublic void startDocument()
startDocument in interface ContentHandlerstartDocument in class XMLFilterImpl
public static boolean nodeMatchesStep(Step s,
String uri,
String localName,
String qName,
Attributes a)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||