- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.xbib.content.xml.stream.XMLFilterImplEx
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler,org.xml.sax.ext.LexicalHandler,org.xml.sax.XMLFilter,org.xml.sax.XMLReader
public class XMLFilterImplEx extends org.xml.sax.helpers.XMLFilterImpl implements org.xml.sax.ext.LexicalHandlerExtension to XMLFilterImpl that implements LexicalHandler.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.xml.sax.ext.LexicalHandlerlexicalHandlerprotected booleannamespacePrefixes
-
Constructor Summary
Constructors Constructor Description XMLFilterImplEx()
-
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)org.xml.sax.ext.LexicalHandlergetLexicalHandler()Get the lexical event handler.booleangetNamespacePrefixes()voidsetLexicalHandler(org.xml.sax.ext.LexicalHandler handler)Set the lexical event handler.voidsetNamespacePrefixes(boolean v)voidstartCDATA()voidstartDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)voidstartEntity(java.lang.String name)-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getNamespacePrefixes
public boolean getNamespacePrefixes()
-
setNamespacePrefixes
public void setNamespacePrefixes(boolean v)
-
getLexicalHandler
public org.xml.sax.ext.LexicalHandler getLexicalHandler()
Get the lexical event handler.- Returns:
- The current lexical handler, or null if none was set.
-
setLexicalHandler
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler handler)
Set the lexical event handler.- Parameters:
handler- the new lexical handler
-
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
-
-