Interface SaxEventHandler

All Superinterfaces:
ContentHandler
All Known Implementing Classes:
AbstractSaxEventHandler

public interface SaxEventHandler extends ContentHandler
Interface used to handle sax events fired from
invalid reference
org.codice.ddf.transformer.xml.streaming.lib.SaxEventHandlerDelegate
and
invalid reference
org.codice.ddf.transformer.xml.streaming.lib.XMLInputTransformer
. At the end of parsing, it will have a list of Attributes that can be used to populate a metacard. A specific implementation can be used to handle specific XML elements and metacards. @see ddf.catalog.transformer.generic.xml.impl.XMLSaxEventHandlerImpl

This code is experimental. While this class is functional and tested, it may change or be removed in a future version of the library.

  • Method Details

    • getAttributes

      List<ddf.catalog.data.Attribute> getAttributes()
      Returns:
      a list of attributes that has been constructed during the parsing of an XML document.
    • getSupportedAttributeDescriptors

      Set<ddf.catalog.data.AttributeDescriptor> getSupportedAttributeDescriptors()
      Get all the possible attribute types that can be returned by this factory's handler
      Returns:
      a set of attribute descriptors that can be returned by this handler