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'sLexicalHandler
interface. 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 LexicalHandler
NULL_HANDLER
Deprecated.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 void
comment(char[] ch, int start, int length)
Deprecated.void
endCDATA()
Deprecated.void
endDTD()
Deprecated.void
endEntity(String name)
Deprecated.void
startCDATA()
Deprecated.void
startDTD(String name, String publicId, String systemId)
Deprecated.void
startEntity(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:
startDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
endDTD
public void endDTD() throws SAXException
Deprecated.- Specified by:
endDTD
in interfaceLexicalHandler
- Throws:
SAXException
-
startEntity
public void startEntity(String name) throws SAXException
Deprecated.- Specified by:
startEntity
in interfaceLexicalHandler
- Throws:
SAXException
-
endEntity
public void endEntity(String name) throws SAXException
Deprecated.- Specified by:
endEntity
in interfaceLexicalHandler
- Throws:
SAXException
-
startCDATA
public void startCDATA() throws SAXException
Deprecated.- Specified by:
startCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
endCDATA
public void endCDATA() throws SAXException
Deprecated.- Specified by:
endCDATA
in interfaceLexicalHandler
- Throws:
SAXException
-
comment
public void comment(char[] ch, int start, int length) throws SAXException
Deprecated.- Specified by:
comment
in interfaceLexicalHandler
- Throws:
SAXException
-
-