java.lang.Object
org.xml.sax.helpers.XMLFilterImpl
org.xbib.content.xml.stream.XMLFilterImplEx
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,LexicalHandler,XMLFilter,XMLReader
Extension to XMLFilterImpl that implements LexicalHandler.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcomment(char[] ch, int start, int length) voidendCDATA()voidendDTD()voidGet the lexical event handler.booleanvoidsetLexicalHandler(LexicalHandler handler) Set the lexical event handler.voidsetNamespacePrefixes(boolean v) voidvoidvoidstartEntity(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, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
lexicalHandler
-
namespacePrefixes
protected boolean namespacePrefixes
-
-
Constructor Details
-
XMLFilterImplEx
public XMLFilterImplEx()
-
-
Method Details
-
getNamespacePrefixes
public boolean getNamespacePrefixes() -
setNamespacePrefixes
public void setNamespacePrefixes(boolean v) -
getLexicalHandler
Get the lexical event handler.- Returns:
- The current lexical handler, or null if none was set.
-
setLexicalHandler
Set the lexical event handler.- Parameters:
handler- the new lexical handler
-
startDTD
- Specified by:
startDTDin interfaceLexicalHandler- Throws:
SAXException
-
endDTD
- Specified by:
endDTDin interfaceLexicalHandler- Throws:
SAXException
-
startEntity
- Specified by:
startEntityin interfaceLexicalHandler- Throws:
SAXException
-
endEntity
- Specified by:
endEntityin interfaceLexicalHandler- Throws:
SAXException
-
startCDATA
- Specified by:
startCDATAin interfaceLexicalHandler- Throws:
SAXException
-
endCDATA
- Specified by:
endCDATAin interfaceLexicalHandler- Throws:
SAXException
-
comment
- Specified by:
commentin interfaceLexicalHandler- Throws:
SAXException
-