@Deprecated public class DocumentHandlerToSAXAdapter extends java.lang.Object implements DocumentHandler
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
END_SLASH_ATTR
Deprecated.
|
static java.lang.String |
NAMESPACE
Deprecated.
|
static java.lang.String |
QUOTES_ATTR
Deprecated.
|
| Constructor and Description |
|---|
DocumentHandlerToSAXAdapter(org.xml.sax.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(java.lang.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(java.lang.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 java.lang.String NAMESPACE
public static final java.lang.String END_SLASH_ATTR
public static final java.lang.String QUOTES_ATTR
public DocumentHandlerToSAXAdapter(org.xml.sax.ContentHandler handler)
public void characters(char[] buffer,
int offset,
int length)
throws java.io.IOException
characters in interface DocumentHandlerbuffer - Character dataoffset - Offset where character data startslength - The length of the character datajava.io.IOException - IOExceptionDocumentHandler.characters(char[], int, int)public void onStartElement(java.lang.String tagName,
AttributeList attributes,
char[] buffer,
int offset,
int length,
boolean endSlash)
throws java.io.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)java.io.IOException - IOExceptionpublic void onEndElement(java.lang.String tagName,
char[] buffer,
int offset,
int length)
throws java.io.IOException
onEndElement in interface DocumentHandlertagName - Tag namebuffer - Contains the whole tag including attributesoffset - Offset where the character data startslength - Length of the character datajava.io.IOException - IOExceptionpublic void onEnd()
throws java.io.IOException
DocumentHandleronEnd in interface DocumentHandlerjava.io.IOException - IOExceptionDocumentHandler.onEnd()public void onStart()
throws java.io.IOException
DocumentHandleronStart in interface DocumentHandlerjava.io.IOException - IOExceptionDocumentHandler.onStart()Copyright © 2010 - 2023 Adobe. All Rights Reserved