public class StrandedFeatureHandler extends FeatureHandler
strand
attribute.
Like the basic FeatureHandler
, this class can be subclassed
to give handlers for more specialized feature types.
Modifier and Type | Field and Description |
---|---|
static XFFPartHandlerFactory |
STRANDEDFEATURE_HANDLER_FACTORY |
FEATURE_HANDLER_FACTORY
Constructor and Description |
---|
StrandedFeatureHandler(XFFFeatureSetHandler xffenv) |
Modifier and Type | Method and Description |
---|---|
protected Feature.Template |
createFeatureTemplate()
Create a new template of the appropriate type.
|
protected StrandedFeature.Template |
getStrandedFeatureTemplate() |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm)
StAX callback for element starts.
|
endElement, fireEndFeature, fireStartFeature, getFeatureTemplate, getLocationHandler, getOldIDHandler, getSourceHandler, getTypeHandler, getXFFEnvironment, setFeatureProperty
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree
public static final XFFPartHandlerFactory STRANDEDFEATURE_HANDLER_FACTORY
public StrandedFeatureHandler(XFFFeatureSetHandler xffenv)
protected Feature.Template createFeatureTemplate()
FeatureHandler
createFeatureTemplate
in class FeatureHandler
protected StrandedFeature.Template getStrandedFeatureTemplate()
public void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
FeatureHandler
startElement
in interface StAXContentHandler
startElement
in class FeatureHandler
SAXException
Copyright © 2014 BioJava. All rights reserved.