public class SaxHtmlHandler extends DefaultHandler
| Modifier and Type | Field and Description |
|---|---|
protected int |
col |
protected Record |
m_record |
protected int |
row |
protected boolean |
startTable |
static String |
TABLE |
static String |
TD |
static String |
TR |
| Constructor and Description |
|---|
SaxHtmlHandler()
Default constructor.
|
SaxHtmlHandler(Record record)
SaxHtmlHandler Method.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length)
Characters Method.
|
void |
endDocument(String namespaceURI,
String localName,
String qName)
EndDocument Method.
|
void |
endElement(String namespaceURI,
String localName,
String qName)
EndElement Method.
|
void |
init(Record record)
Init Method.
|
void |
startDocument(String namespaceURI,
String localName,
String qName,
Attributes attr)
StartDocument Method.
|
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes attr)
StartElement Method.
|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningpublic static final String TABLE
public static final String TD
public static final String TR
protected Record m_record
protected boolean startTable
protected int col
protected int row
public SaxHtmlHandler()
public SaxHtmlHandler(Record record)
public void init(Record record)
public void startDocument(String namespaceURI, String localName, String qName, Attributes attr) throws SAXException
SAXExceptionpublic void endDocument(String namespaceURI, String localName, String qName) throws SAXException
SAXExceptionpublic void startElement(String namespaceURI, String localName, String qName, Attributes attr)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic void endElement(String namespaceURI, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlercharacters in class DefaultHandlerSAXExceptionCopyright © 2015 jbundle.org. All Rights Reserved.