Package org.biojava.bio.seq.io.agave
Interface ElementRecognizer
-
- All Known Implementing Classes:
ElementRecognizer.AllElementRecognizer
,ElementRecognizer.ByLocalName
,ElementRecognizer.ByNSName
,ElementRecognizer.HasAttribute
public interface ElementRecognizer
This class is copied to agave package Simple interface for filtering SAX/StAX startElement events
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ElementRecognizer.AllElementRecognizer
static class
ElementRecognizer.ByLocalName
Filter elements by local name (not recommended).static class
ElementRecognizer.ByNSName
Filter elements by name and namespace.static class
ElementRecognizer.HasAttribute
Filter elements on the existence of a specified attribute.
-
Field Summary
Fields Modifier and Type Field Description static ElementRecognizer
ALL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
filterStartElement(String nsURI, String localName, String qName, Attributes attrs)
-
-
-
Field Detail
-
ALL
static final ElementRecognizer ALL
-
-
Method Detail
-
filterStartElement
boolean filterStartElement(String nsURI, String localName, String qName, Attributes attrs)
-
-