public class SaxyParser extends SAXParser implements XMLReader
| Modifier and Type | Field and Description |
|---|---|
static String |
ENTITY_EXPANSION_PROPERTY
Parser property to enable entity expansion.
|
static String |
STRICT_PROPERTY
Parser property to enable strict parsing mode.
|
| Constructor and Description |
|---|
SaxyParser() |
public static final String ENTITY_EXPANSION_PROPERTY
http://hairyfatguy.com/sax/properties/entity-expansion
False by default.public static final String STRICT_PROPERTY
http://hairyfatguy.com/sax/properties/strict
False by default.public SaxyParser()
public SaxyParser setLenientHTMLParsing(boolean inValue)
public SaxyParser setLenientHTMLEmptyTags(Collection<String> inEmptyTags)
public Doctype getDoctype()
public Parser getParser() throws SAXException
getParser in class SAXParserSAXExceptionpublic XMLReader getXMLReader()
getXMLReader in class SAXParserpublic boolean isNamespaceAware()
isNamespaceAware in class SAXParserpublic boolean isValidating()
isValidating in class SAXParserpublic void setProperty(String inName, Object inValue) throws SAXNotRecognizedException
setProperty in interface XMLReadersetProperty in class SAXParserSAXNotRecognizedExceptionpublic Object getProperty(String inName) throws SAXNotRecognizedException
getProperty in interface XMLReadergetProperty in class SAXParserSAXNotRecognizedExceptionpublic ContentHandler getContentHandler()
getContentHandler in interface XMLReaderpublic void setContentHandler(ContentHandler handler)
setContentHandler in interface XMLReaderpublic DTDHandler getDTDHandler()
getDTDHandler in interface XMLReaderpublic void setDTDHandler(DTDHandler handler)
setDTDHandler in interface XMLReaderpublic ErrorHandler getErrorHandler()
getErrorHandler in interface XMLReaderpublic void setErrorHandler(ErrorHandler handler)
setErrorHandler in interface XMLReaderpublic EntityResolver getEntityResolver()
getEntityResolver in interface XMLReaderpublic void setEntityResolver(EntityResolver resolver)
setEntityResolver in interface XMLReaderpublic void setFeature(String inName, boolean inValue) throws SAXNotRecognizedException
setFeature in interface XMLReaderSAXNotRecognizedExceptionpublic boolean getFeature(String inName) throws SAXNotRecognizedException
getFeature in interface XMLReaderSAXNotRecognizedExceptionpublic LexicalHandler getLexicalHandler()
public void setLexicalHandler(LexicalHandler handler)
public void parse(String inSystemId) throws SAXException, IOException
parse in interface XMLReaderSAXExceptionIOExceptionpublic XMLNamespace getCurrentDefaultNamespace()
public void parse(InputSource source) throws SAXException, IOException
parse in interface XMLReaderSAXExceptionIOException
jataylor@hairyfatguy.com