SaxParser

Constructors

this
this()

Members

Functions

getColumnNumber
int getColumnNumber()

Return the column number where the current document event ends. This is one-based number of Java <code>char</code> values since the last line end.

getEntityResolver
EntityResolver!(Ch) getEntityResolver()

Return the current entity resolver.

getErrorHandler
ErrorHandler!(Ch) getErrorHandler()

Return the current error handler.

getFeature
bool getFeature(const(Ch)[] name)

Look up the value of a feature flag.

getLineNumber
int getLineNumber()

Return the line number where the current document event ends. Lines are delimited by line ends, which are defined in the XML specification.

getProperty
Object getProperty(const(Ch)[] name)

Look up the value of a property.

getPublicId
const(Ch)[] getPublicId()

Return the public identifier for the current document event.

getSaxHandler
SaxHandler!(Ch) getSaxHandler()

Return the current content handler.

getSystemId
const(Ch)[] getSystemId()

Return the system identifier for the current document event.

parse
void parse(const(Ch)[] content)

Parse an XML document from a character array.

parse
void parse()
reset
void reset()
setContent
void setContent(const(Ch)[] content)
setEntityResolver
void setEntityResolver(EntityResolver!(Ch) resolver)

Allow an application to register an entity resolver.

setErrorHandler
void setErrorHandler(ErrorHandler!(Ch) handler)

Allow an application to register an error event handler.

setFeature
void setFeature(const(Ch)[] name, bool value)

Set the value of a feature flag.

setProperty
void setProperty(const(Ch)[] name, Object value)

Set the value of a property.

setSaxHandler
void setSaxHandler(SaxHandler!(Ch) handler)

Allow an application to register a content event handler.

Meta