@Deprecated public class DocumentHandlerToSAXAdapter extends Object implements DocumentHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
END_SLASH_ATTR
Deprecated.
|
static String |
NAMESPACE
Deprecated.
|
static String |
QUOTES_ATTR
Deprecated.
|
| Constructor and Description |
|---|
DocumentHandlerToSAXAdapter(ContentHandler handler)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] buffer,
int offset,
int length)
Deprecated.
Called by HtmlParser if character data and tags are to be output for which no
special handling is necessary.
|
void |
onEnd()
Deprecated.
Receive notification of parsing end.
|
void |
onEndElement(String tagName,
char[] buffer,
int offset,
int length)
Deprecated.
Called by HtmlParser for the end element of a tag that requires special handling.
|
void |
onStart()
Deprecated.
Receive notification of parsing start.
|
void |
onStartElement(String tagName,
AttributeList attributes,
char[] buffer,
int offset,
int length,
boolean endSlash)
Deprecated.
Called by HtmlParser for the start element of a tag that requires special handling.
|
public static final String NAMESPACE
public static final String END_SLASH_ATTR
public static final String QUOTES_ATTR
public DocumentHandlerToSAXAdapter(ContentHandler handler)
public void characters(char[] buffer,
int offset,
int length)
throws IOException
characters in interface DocumentHandlerbuffer - Character dataoffset - Offset where character data startslength - The length of the character dataIOException - IOExceptionDocumentHandler.characters(char[], int, int)public void onStartElement(String tagName, AttributeList attributes, char[] buffer, int offset, int length, boolean endSlash) throws IOException
onStartElement in interface DocumentHandlertagName - Tag nameattributes - List of attributesbuffer - Contains the whole tag including attributesoffset - Offset where the character data startslength - Length of the character dataendSlash - Flag indicating whether the element is closed with an ending slash (xhtml-compliant)IOException - IOExceptionpublic void onEndElement(String tagName, char[] buffer, int offset, int length) throws IOException
onEndElement in interface DocumentHandlertagName - Tag namebuffer - Contains the whole tag including attributesoffset - Offset where the character data startslength - Length of the character dataIOException - IOExceptionpublic void onEnd()
throws IOException
DocumentHandleronEnd in interface DocumentHandlerIOException - IOExceptionDocumentHandler.onEnd()public void onStart()
throws IOException
DocumentHandleronStart in interface DocumentHandlerIOException - IOExceptionDocumentHandler.onStart()Copyright © 2010 - 2020 Adobe. All Rights Reserved