- getFeature
bool getFeature(Ch[] name)
Look up the value of a feature flag.
- setFeature
void setFeature(Ch[] name, bool value)
Set the value of a feature flag.
- getProperty
Object getProperty(Ch[] name)
Look up the value of a property.
- setProperty
void setProperty(Ch[] name, Object value)
Set the value of a property.
- setEntityResolver
void setEntityResolver(EntityResolver!(Ch) resolver)
Allow an application to register an entity resolver.
- getEntityResolver
EntityResolver!(Ch) getEntityResolver()
Return the current entity resolver.
- setSaxHandler
void setSaxHandler(SaxHandler!(Ch) handler)
Allow an application to register a content event handler.
- getSaxHandler
SaxHandler!(Ch) getSaxHandler()
Return the current content handler.
- setErrorHandler
void setErrorHandler(ErrorHandler!(Ch) handler)
Allow an application to register an error event handler.
- getErrorHandler
ErrorHandler!(Ch) getErrorHandler()
Return the current error handler.
- parse
void parse(Ch[] content)
Parse an XML document from a character array.
- parse
void parse()
- setContent
void setContent(Ch[] content)
Interface for an XML filter.
<p>An XML filter is like an XML reader, except that it obtains its events from another XML reader rather than a primary source like an XML document or database. Filters can modify a stream of events as they pass on to the final application.</p>
<p>The XMLFilterImpl helper class provides a convenient base for creating SAX2 filters, by passing on all {@link org.xml.sax.EntityResolver EntityResolver}, {@link org.xml.sax.DTDHandler DTDHandler}, {@link org.xml.sax.ContentHandler ContentHandler} and {@link org.xml.sax.ErrorHandler ErrorHandler} events automatically.</p>
@since SAX 2.0 @author David Megginson @version 2.0.1 (sax2r2) @see org.xml.sax.helpers.XMLFilterImpl