Interface StAXContentHandler

All Known Subinterfaces:
XMLAnnotationTypeHandler.CollectionConstraintHandler, XMLAnnotationTypeHandler.PropertyConstraintHandler, XMLFilterHandler.FilterHandler
All Known Implementing Classes:
AlignmentStAXHandler, BlastXMLParser, BooleanElementHandlerBase, ByteElementHandlerBase, CharElementHandlerBase, DoubleElementHandlerBase, FeatureHandler, FloatElementHandlerBase, GAMEAnnotationHandler, GAMEAnnotationHandler, GAMEAspectHandler, GAMEAspectPropHandler, GAMEDbxrefHandler, GAMEDbxrefPropHandler, GAMEDescriptionPropHandler, GAMEFeatureSetHandler, GAMEFeatureSetHandler, GAMEFeatureSetPropHandler, GAMEFeatureSpanHandler, GAMEFeatureSpanHandler, GAMEFeatureSpanHandler.SeqRelHandler, GAMEGeneHandler, GAMEGenePropHandler, GAMEHandler, GAMEHandler, GAMEMapPosPropHandler, GAMENamePropHandler, GAMEPropertyHandler, GAMEResiduesPropHandler, GAMESeqHandler, GAMESeqPropHandler, GAMESeqRelHandler, GAMESeqRelPropHandler, GAMESpanHandler, GAMESpanPropHandler, GAMETypePropHandler, HeaderStAXHandler, HitStAXHandler, HSPStAXHandler, HSPSummaryStAXHandler, IntElementHandlerBase, LocationHandlerBase, LongElementHandlerBase, PropDetailHandler, SeqSimilarityStAXAdapter, SeqSimilarityStAXHandler, SequenceContentHandlerBase, StAXContentHandlerBase, StAXFeatureHandler, StAXFeatureHandler, StAXPropertyHandler, StrandedFeatureHandler, StringElementHandlerBase, XFFFeatureSetHandler, XMLAnnotationTypeHandler

public interface StAXContentHandler
Interface for StAX content handlers. This interface is very similar in spirit and design to the SAX content handler. Differences are:
  1. start/endDocument methods are replaced by start/endTree. This recognises the fact that a StAX content handler may only see a sub-tree of an XML document, rather than the whole document.
  2. the startElement method takes a DelegationManager, allowing delegation of sub-trees to other content handlers.
Author:
Thomas Down