public static class ElementRecognizer.HasAttribute extends java.lang.Object implements ElementRecognizer
ElementRecognizer.AllElementRecognizer, ElementRecognizer.ByLocalName, ElementRecognizer.ByNSName, ElementRecognizer.HasAttribute
ALL
Constructor and Description |
---|
HasAttribute(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
filterStartElement(java.lang.String nsURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attrs)
Recognize an element based upon the start element parameters.
|
java.lang.String |
toString() |
public boolean filterStartElement(java.lang.String nsURI, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attrs)
ElementRecognizer
filterStartElement
in interface ElementRecognizer
nsURI
- the uri of the element to filterlocalName
- the local name of the element to filterqName
- the qName of the element to filterattrs
- the attributes associated with the element to filterpublic java.lang.String toString()
toString
in class java.lang.Object