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, warningpublic static final String SAX_LEXICAL_HANDLER_PROPERTY
public DefaultXMLFilter()
public DefaultXMLFilter(XMLReader reader)
public void parse(InputSource input) throws SAXException, IOException
parse in interface XMLReaderparse in class XMLFilterImplSAXExceptionIOExceptionpublic void setProperty(String name, Object value) throws SAXNotRecognizedException, SAXNotSupportedException
setProperty in interface XMLReadersetProperty in class XMLFilterImplSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic Object getProperty(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getProperty in interface XMLReadergetProperty in class XMLFilterImplSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void comment(char[] ch,
int start,
int length)
throws SAXException
comment in interface LexicalHandlerSAXExceptionpublic void endCDATA()
throws SAXException
endCDATA in interface LexicalHandlerSAXExceptionpublic void endDTD()
throws SAXException
endDTD in interface LexicalHandlerSAXExceptionpublic void endEntity(String name) throws SAXException
endEntity in interface LexicalHandlerSAXExceptionpublic void startCDATA()
throws SAXException
startCDATA in interface LexicalHandlerSAXExceptionpublic void startDTD(String name, String publicId, String systemId) throws SAXException
startDTD in interface LexicalHandlerSAXExceptionpublic void startEntity(String name) throws SAXException
startEntity in interface LexicalHandlerSAXExceptionCopyright © 2004–2016 XWiki. All rights reserved.