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(java.lang.String poNameSpace,
java.lang.String poElementName,
java.lang.String poQName)
Called when the end of an element is reached.
|
void |
startElement(java.lang.String poNameSpace,
java.lang.String poElementName,
java.lang.String poQName,
org.xml.sax.Attributes poAtts)
This is called when an element is entered.
|
public Blast2HTMLHandler(HTMLRenderer poRenderer)
poRenderer
- HTMLRenderer
- a configured
HTMLRenderer.public void startElement(java.lang.String poNameSpace, java.lang.String poElementName, java.lang.String poQName, org.xml.sax.Attributes poAtts) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.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.org.xml.sax.SAXException
- if an error occurspublic void endElement(java.lang.String poNameSpace, java.lang.String poElementName, java.lang.String poQName)
endElement
in interface org.xml.sax.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 org.xml.sax.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 array