Package org.apache.cocoon.xml.sax
Class DefaultLexicalHandler
- java.lang.Object
-
- org.apache.cocoon.xml.sax.DefaultLexicalHandler
-
- All Implemented Interfaces:
LexicalHandler
@Deprecated(since="2022-01-27") public class DefaultLexicalHandler extends Object implements LexicalHandler
Deprecated.This API is deprecated, migrate code to the XML APIs provided by the JDK.Default implementation of SAX'sLexicalHandlerinterface. Empty implementation of all methods so that you only have to redefine the ones of interest.
-
-
Field Summary
Fields Modifier and Type Field Description static LexicalHandlerNULL_HANDLERDeprecated.Shared instance that can be used when lexical events should be ignored.
-
Constructor Summary
Constructors Constructor Description DefaultLexicalHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcomment(char[] ch, int start, int length)Deprecated.voidendCDATA()Deprecated.voidendDTD()Deprecated.voidendEntity(String name)Deprecated.voidstartCDATA()Deprecated.voidstartDTD(String name, String publicId, String systemId)Deprecated.voidstartEntity(String name)Deprecated.
-
-
-
Field Detail
-
NULL_HANDLER
public static final LexicalHandler NULL_HANDLER
Deprecated.Shared instance that can be used when lexical events should be ignored.
-
-
Method Detail
-
startDTD
public void startDTD(String name, String publicId, String systemId) throws SAXException
Deprecated.- Specified by:
startDTDin interfaceLexicalHandler- Throws:
SAXException
-
endDTD
public void endDTD() throws SAXExceptionDeprecated.- Specified by:
endDTDin interfaceLexicalHandler- Throws:
SAXException
-
startEntity
public void startEntity(String name) throws SAXException
Deprecated.- Specified by:
startEntityin interfaceLexicalHandler- Throws:
SAXException
-
endEntity
public void endEntity(String name) throws SAXException
Deprecated.- Specified by:
endEntityin interfaceLexicalHandler- Throws:
SAXException
-
startCDATA
public void startCDATA() throws SAXExceptionDeprecated.- Specified by:
startCDATAin interfaceLexicalHandler- Throws:
SAXException
-
endCDATA
public void endCDATA() throws SAXExceptionDeprecated.- Specified by:
endCDATAin interfaceLexicalHandler- Throws:
SAXException
-
comment
public void comment(char[] ch, int start, int length) throws SAXExceptionDeprecated.- Specified by:
commentin interfaceLexicalHandler- Throws:
SAXException
-
-