|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.utils.stax.StAXContentHandlerBase
org.biojava.bio.seq.io.filterxml.XMLAnnotationTypeHandler
public class XMLAnnotationTypeHandler
StAX handler for parsing AnnotationTypes in FilterXML documents. Mainly used internally by XMLFilterHandler.
Nested Class Summary | |
---|---|
static interface |
XMLAnnotationTypeHandler.CollectionConstraintHandler
Handler for an individual CollectionConstraint in an AnnotationType. |
static interface |
XMLAnnotationTypeHandler.CollectionConstraintHandlerFactory
Handler Factory for a CollectionConstraint in an AnnotationType. |
static interface |
XMLAnnotationTypeHandler.PropertyConstraintHandler
Handler for an individual PropertyConstraint in an AnnotationType. |
static interface |
XMLAnnotationTypeHandler.PropertyConstraintHandlerFactory
Handler Factory for a PropertyConstraint in an AnnotationType. |
Constructor Summary | |
---|---|
XMLAnnotationTypeHandler()
Construct a new XMLAnnotationTypeHandler which can parse the builtin PropertyConstraints. |
Method Summary | |
---|---|
void |
endElement(String nsURI,
String localName,
String qName,
StAXContentHandler delegate)
|
AnnotationType |
getAnnotationType()
Return the AnnotationType built by this handler |
void |
registerCollectionHandlerFactory(String nsURI,
String localName,
XMLAnnotationTypeHandler.CollectionConstraintHandlerFactory factory)
Register a factory used to create handlers for the specified tag in an XML AnnotationType |
void |
registerPropertyHandlerFactory(String nsURI,
String localName,
XMLAnnotationTypeHandler.PropertyConstraintHandlerFactory factory)
Register a factory used to create handlers for the specified tag in an XML AnnotationType |
void |
startElement(String nsURI,
String localName,
String qName,
Attributes attrs,
DelegationManager dm)
|
Methods inherited from class org.biojava.utils.stax.StAXContentHandlerBase |
---|
characters, endPrefixMapping, endTree, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, startTree |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLAnnotationTypeHandler()
Method Detail |
---|
public AnnotationType getAnnotationType()
public void registerPropertyHandlerFactory(String nsURI, String localName, XMLAnnotationTypeHandler.PropertyConstraintHandlerFactory factory)
public void registerCollectionHandlerFactory(String nsURI, String localName, XMLAnnotationTypeHandler.CollectionConstraintHandlerFactory factory)
public void startElement(String nsURI, String localName, String qName, Attributes attrs, DelegationManager dm) throws SAXException
startElement
in interface StAXContentHandler
startElement
in class StAXContentHandlerBase
SAXException
public void endElement(String nsURI, String localName, String qName, StAXContentHandler delegate) throws SAXException
endElement
in interface StAXContentHandler
endElement
in class StAXContentHandlerBase
SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |