public class DefaultXMLFilter extends XMLFilterImpl implements LexicalHandler
Modifier and Type | Field and Description |
---|---|
static String |
SAX_LEXICAL_HANDLER_PROPERTY |
Constructor and Description |
---|
DefaultXMLFilter() |
DefaultXMLFilter(XMLReader reader) |
Modifier and Type | Method and Description |
---|---|
void |
comment(char[] ch,
int start,
int length) |
void |
endCDATA() |
void |
endDTD() |
void |
endEntity(String name) |
Object |
getProperty(String name) |
void |
parse(InputSource input) |
void |
setProperty(String name,
Object value) |
void |
startCDATA() |
void |
startDTD(String name,
String publicId,
String systemId) |
void |
startEntity(String name) |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, ignorableWhitespace, notationDecl, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public static final String SAX_LEXICAL_HANDLER_PROPERTY
public DefaultXMLFilter()
public DefaultXMLFilter(XMLReader reader)
public void parse(InputSource input) throws SAXException, IOException
parse
in interface XMLReader
parse
in class XMLFilterImpl
SAXException
IOException
public void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty
in interface XMLReader
setProperty
in class XMLFilterImpl
SAXNotRecognizedException
SAXNotSupportedException
public Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty
in interface XMLReader
getProperty
in class XMLFilterImpl
SAXNotRecognizedException
SAXNotSupportedException
public void comment(char[] ch, int start, int length) throws SAXException
comment
in interface LexicalHandler
SAXException
public void endCDATA() throws SAXException
endCDATA
in interface LexicalHandler
SAXException
public void endDTD() throws SAXException
endDTD
in interface LexicalHandler
SAXException
public void endEntity(String name) throws SAXException
endEntity
in interface LexicalHandler
SAXException
public void startCDATA() throws SAXException
startCDATA
in interface LexicalHandler
SAXException
public void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD
in interface LexicalHandler
SAXException
public void startEntity(String name) throws SAXException
startEntity
in interface LexicalHandler
SAXException
Copyright © 2004–2021 XWiki. All rights reserved.