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's
LexicalHandler interface. Empty implementation
of all methods so that you only have to redefine the ones of interest.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LexicalHandlerDeprecated.Shared instance that can be used when lexical events should be ignored. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomment(char[] ch, int start, int length) Deprecated.voidendCDATA()Deprecated.voidendDTD()Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidstartEntity(String name) Deprecated.
-
Field Details
-
NULL_HANDLER
Deprecated.Shared instance that can be used when lexical events should be ignored.
-
-
Constructor Details
-
DefaultLexicalHandler
public DefaultLexicalHandler()Deprecated.
-
-
Method Details
-
startDTD
Deprecated.- Specified by:
startDTDin interfaceLexicalHandler- Throws:
SAXException
-
endDTD
Deprecated.- Specified by:
endDTDin interfaceLexicalHandler- Throws:
SAXException
-
startEntity
Deprecated.- Specified by:
startEntityin interfaceLexicalHandler- Throws:
SAXException
-
endEntity
Deprecated.- Specified by:
endEntityin interfaceLexicalHandler- Throws:
SAXException
-
startCDATA
Deprecated.- Specified by:
startCDATAin interfaceLexicalHandler- Throws:
SAXException
-
endCDATA
Deprecated.- Specified by:
endCDATAin interfaceLexicalHandler- Throws:
SAXException
-
comment
Deprecated.- Specified by:
commentin interfaceLexicalHandler- Throws:
SAXException
-