|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.biojava.bio.program.blast2html.Blast2HTMLHandler
Takes a SAX event stream and a HTMLRenderer to produce a HTML Blast like program report. Primary author - Colin Hardman (CAT) Other authors - Tim Dilks (CAT) Simon Brocklehurst (CAT) Stuart Johnston (CAT) Lawerence Bower (CAT) Derek Crockford (CAT) Neil Benn (CAT) Copyright 2001 Cambridge Antibody Technology Group plc. All Rights Reserved. This code released to the biojava project, May 2001 under the LGPL license.
Constructor Summary | |
Blast2HTMLHandler(HTMLRenderer poRenderer)
A content handler for rendering blast like outputs into HTML. |
Method Summary | |
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. |
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 |
Constructor Detail |
public Blast2HTMLHandler(HTMLRenderer poRenderer)
poRenderer
- HTMLRenderer
- a configured
HTMLRenderer.Method Detail |
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
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)
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.
charBuffer
- - character array containing data.start
- - the start position of relavent chars in passes arraylength
- - the stop position of relavent chars in passes array
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |