Package org.biojava.bio.program.xff
Class ElementRecognizer.ByLocalName
java.lang.Object
org.biojava.bio.program.xff.ElementRecognizer.ByLocalName
- All Implemented Interfaces:
ElementRecognizer
- Enclosing interface:
ElementRecognizer
Filter elements by local name (not recommended).
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.biojava.bio.program.xff.ElementRecognizer
ElementRecognizer.AllElementRecognizer, ElementRecognizer.ByLocalName, ElementRecognizer.ByNSName, ElementRecognizer.HasAttribute
-
Field Summary
Fields inherited from interface org.biojava.bio.program.xff.ElementRecognizer
ALL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
filterStartElement
(String nsURI, String localName, String qName, Attributes attrs) Recognize an element based upon the start element parameters.toString()
-
Constructor Details
-
ByLocalName
-
-
Method Details
-
filterStartElement
Description copied from interface:ElementRecognizer
Recognize an element based upon the start element parameters.- Specified by:
filterStartElement
in interfaceElementRecognizer
- Parameters:
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 filter- Returns:
- true if this element is accepted, false otherwise
-
toString
-