public class Blast2HTMLHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
Blast2HTMLHandler(HTMLRenderer poRenderer)
A content handler for rendering blast like outputs into
HTML.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] charBuffer,
int start,
int length)
Describe
characters method here. |
void |
endElement(String poNameSpace,
String poElementName,
String poQName)
Called when the end of an element is reached.
|
void |
startElement(String poNameSpace,
String poElementName,
String poQName,
Attributes poAtts)
This is called when an element is entered.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public Blast2HTMLHandler(HTMLRenderer poRenderer)
poRenderer
- HTMLRenderer
- a configured
HTMLRenderer.public void startElement(String poNameSpace, String poElementName, String poQName, Attributes poAtts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
poNameSpace
- String
- the name space.poElementName
- String
- the local name of the tag.poQName
- String
- the fully qualified name
with prefixpoAtts
- an Attributes
- the tag attributes.SAXException
- if an error occurspublic void endElement(String poNameSpace, String poElementName, String poQName)
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
poNameSpace
- a String
- the name space.poElementName
- a String
- the local element name.poQName
- a String
value - the qualified element name.public void characters(char[] charBuffer, int start, int length)
characters
method here.characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
charBuffer
- - character array containing data.start
- - the start position of relavent chars in passes arraylength
- - the stop position of relavent chars in passes arrayCopyright © 2014 BioJava. All rights reserved.