public class DefaultLexicalHandler
extends java.lang.Object
implements org.xml.sax.ext.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 org.xml.sax.ext.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(java.lang.String name) |
void |
startCDATA() |
void |
startDTD(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
void |
startEntity(java.lang.String name) |
public static final org.xml.sax.ext.LexicalHandler NULL_HANDLER
public void startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
startDTD
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endDTD() throws org.xml.sax.SAXException
endDTD
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void startEntity(java.lang.String name) throws org.xml.sax.SAXException
startEntity
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endEntity(java.lang.String name) throws org.xml.sax.SAXException
endEntity
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void startCDATA() throws org.xml.sax.SAXException
startCDATA
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void endCDATA() throws org.xml.sax.SAXException
endCDATA
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
public void comment(char[] ch, int start, int length) throws org.xml.sax.SAXException
comment
in interface org.xml.sax.ext.LexicalHandler
org.xml.sax.SAXException
Copyright © 2010 - 2020 Adobe. All Rights Reserved