Class DTDXMLFilter
- java.lang.Object
-
- org.xml.sax.helpers.XMLFilterImpl
-
- org.xwiki.rendering.wikimodel.xhtml.filter.DefaultXMLFilter
-
- org.xwiki.rendering.wikimodel.xhtml.filter.DTDXMLFilter
-
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,LexicalHandler,XMLFilter,XMLReader
public class DTDXMLFilter extends DefaultXMLFilter
Skip all callbacks when parsing the DTD.- Since:
- 4.0M1
- Version:
- $Id: 702d75e4187f45b19301381a846304a8704d5135 $
-
-
Field Summary
-
Fields inherited from class org.xwiki.rendering.wikimodel.xhtml.filter.DefaultXMLFilter
SAX_LEXICAL_HANDLER_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description DTDXMLFilter()DTDXMLFilter(XMLReader reader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] array, int start, int length)voidcomment(char[] array, int start, int length)voidendCDATA()voidendDTD()voidendElement(String uri, String localName, String qName)voidstartCDATA()voidstartDTD(String name, String publicId, String systemId)voidstartElement(String uri, String localName, String qName, Attributes attributes)-
Methods inherited from class org.xwiki.rendering.wikimodel.xhtml.filter.DefaultXMLFilter
endEntity, getProperty, parse, setProperty, startEntity
-
Methods inherited from class org.xml.sax.helpers.XMLFilterImpl
endDocument, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Constructor Detail
-
DTDXMLFilter
public DTDXMLFilter()
-
DTDXMLFilter
public DTDXMLFilter(XMLReader reader)
-
-
Method Detail
-
characters
public void characters(char[] array, int start, int length) throws SAXException- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classXMLFilterImpl- Throws:
SAXException- See Also:
DefaultHandler.characters(char[], int, int)
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classXMLFilterImpl- Throws:
SAXException- See Also:
DefaultHandler.startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
-
endElement
public void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classXMLFilterImpl- Throws:
SAXException- See Also:
DefaultHandler.endElement(java.lang.String, java.lang.String, java.lang.String)
-
comment
public void comment(char[] array, int start, int length) throws SAXException- Specified by:
commentin interfaceLexicalHandler- Overrides:
commentin classDefaultXMLFilter- Throws:
SAXException
-
startCDATA
public void startCDATA() throws SAXException- Specified by:
startCDATAin interfaceLexicalHandler- Overrides:
startCDATAin classDefaultXMLFilter- Throws:
SAXException
-
endCDATA
public void endCDATA() throws SAXException- Specified by:
endCDATAin interfaceLexicalHandler- Overrides:
endCDATAin classDefaultXMLFilter- Throws:
SAXException
-
startDTD
public void startDTD(String name, String publicId, String systemId) throws SAXException
- Specified by:
startDTDin interfaceLexicalHandler- Overrides:
startDTDin classDefaultXMLFilter- Throws:
SAXException
-
endDTD
public void endDTD() throws SAXException- Specified by:
endDTDin interfaceLexicalHandler- Overrides:
endDTDin classDefaultXMLFilter- Throws:
SAXException
-
-