Package org.biojava.bio.program.xml
Class SimpleXMLEmitter
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.biojava.bio.program.xml.SimpleXMLEmitter
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
A simple XML DocumentHandler that processes SAX2 events
to create a sensibly formatted XML as it parsed
without populating objects with data. Note, need to
tidy up parameter names which are poor due to decompiling
a .class file from an accidently deleted .java file!
Copyright © 2000 Cambridge Antibody Technology.
Primary author -
- Simon Brocklehurst (CAT)
- Tim Dilks (CAT)
- Colin Hardman (CAT)
- Stuart Johnston (CAT)
- Version:
- 1.0
- Author:
- Cambridge Antibody Technology (CAT)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ach, int i, int j) void
endElement
(String string1, String string2, String string3) void
startElement
(String string1, String string2, String string3, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
SimpleXMLEmitter
public SimpleXMLEmitter() -
SimpleXMLEmitter
-
-
Method Details
-
characters
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-