public class DefaultLexicalHandler extends Object implements LexicalHandler
LexicalHandler interface. Empty implementation
of all methods so that you only have to redefine the ones of interest.| Modifier and Type | Field and Description |
|---|---|
static LexicalHandler |
NULL_HANDLER
Shared instance that can be used when lexical events should be ignored.
|
| Constructor and Description |
|---|
DefaultLexicalHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDTD() |
void |
endEntity(String name) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startEntity(String name) |
public static final LexicalHandler NULL_HANDLER
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionpublic void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionCopyright © 2010 - 2020 Adobe. All Rights Reserved