Package org.apache.cocoon.xml.sax
Class DefaultLexicalHandler
- java.lang.Object
 - 
- org.apache.cocoon.xml.sax.DefaultLexicalHandler
 
 
- 
- All Implemented Interfaces:
 org.xml.sax.ext.LexicalHandler
public class DefaultLexicalHandler extends java.lang.Object implements org.xml.sax.ext.LexicalHandlerDefault 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 org.xml.sax.ext.LexicalHandlerNULL_HANDLERShared instance that can be used when lexical events should be ignored. 
- 
Constructor Summary
Constructors Constructor Description DefaultLexicalHandler() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomment(char[] ch, int start, int length)voidendCDATA()voidendDTD()voidendEntity(java.lang.String name)voidstartCDATA()voidstartDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)voidstartEntity(java.lang.String name) 
 - 
 
- 
- 
Method Detail
- 
startDTD
public void startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException- Specified by:
 startDTDin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
endDTD
public void endDTD() throws org.xml.sax.SAXException- Specified by:
 endDTDin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
startEntity
public void startEntity(java.lang.String name) throws org.xml.sax.SAXException- Specified by:
 startEntityin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
endEntity
public void endEntity(java.lang.String name) throws org.xml.sax.SAXException- Specified by:
 endEntityin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
startCDATA
public void startCDATA() throws org.xml.sax.SAXException- Specified by:
 startCDATAin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
endCDATA
public void endCDATA() throws org.xml.sax.SAXException- Specified by:
 endCDATAin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
- 
comment
public void comment(char[] ch, int start, int length) throws org.xml.sax.SAXException- Specified by:
 commentin interfaceorg.xml.sax.ext.LexicalHandler- Throws:
 org.xml.sax.SAXException
 
 - 
 
 -