Class ElementRecognizer.ByNSName

java.lang.Object
org.biojava.bio.program.xff.ElementRecognizer.ByNSName
All Implemented Interfaces:
ElementRecognizer
Enclosing interface:
ElementRecognizer

public static class ElementRecognizer.ByNSName extends Object implements ElementRecognizer
Filter elements by name and namespace.
  • Constructor Details

  • Method Details

    • filterStartElement

      public boolean filterStartElement(String nsURI, String localName, String qName, Attributes attrs)
      Description copied from interface: ElementRecognizer
      Recognize an element based upon the start element parameters.
      Specified by:
      filterStartElement in interface ElementRecognizer
      Parameters:
      nsURI - the uri of the element to filter
      localName - the local name of the element to filter
      qName - the qName of the element to filter
      attrs - the attributes associated with the element to filter
      Returns:
      true if this element is accepted, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object