KLayout Manual: Main Index » Class Index » API reference - Class QXmlReader

API reference - Class QXmlReader

Notation used in Ruby API documentation

Description: Binding of QXmlReader

Public methods

[const]QXmlDTDHandler ptrDTDHandlerMethod QXmlDTDHandler * QXmlReader::DTDHandler()
[const]QXmlContentHandler ptrcontentHandlerMethod QXmlContentHandler * QXmlReader::contentHandler()
voidcontentHandler=(QXmlContentHandler ptr handler)Method void QXmlReader::setContentHandler(QXmlContentHandler *handler)
voidcreateEnsures the C++ object is created
[const]QXmlDeclHandler ptrdeclHandlerMethod QXmlDeclHandler * QXmlReader::declHandler()
voiddeclHandler=(QXmlDeclHandler ptr handler)Method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
[const]QXmlEntityResolver ptrentityResolverMethod QXmlEntityResolver * QXmlReader::entityResolver()
voidentityResolver=(QXmlEntityResolver ptr handler)Method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)
[const]QXmlErrorHandler ptrerrorHandlerMethod QXmlErrorHandler * QXmlReader::errorHandler()
voiderrorHandler=(QXmlErrorHandler ptr handler)Method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)
[const]boolfeature(string name)Method bool QXmlReader::feature(const QString &name, bool *ok)
[const]boolfeature(string name,
bool ptr ok)
Method bool QXmlReader::feature(const QString &name, bool *ok)
[const]boolhasFeature(string name)Method bool QXmlReader::hasFeature(const QString &name)
[const]boolhasProperty(string name)Method bool QXmlReader::hasProperty(const QString &name)
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[const]QXmlLexicalHandler ptrlexicalHandlerMethod QXmlLexicalHandler * QXmlReader::lexicalHandler()
voidlexicalHandler=(QXmlLexicalHandler ptr handler)Method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)
boolparse(const QXmlInputSource input)Method bool QXmlReader::parse(const QXmlInputSource &input)
boolparse(const QXmlInputSource ptr input)Method bool QXmlReader::parse(const QXmlInputSource *input)
[const]void *property(string name)Method void * QXmlReader::property(const QString &name, bool *ok)
[const]void *property(string name,
bool ptr ok)
Method void * QXmlReader::property(const QString &name, bool *ok)
voidsetContentHandler(QXmlContentHandler ptr handler)Method void QXmlReader::setContentHandler(QXmlContentHandler *handler)
voidsetDTDHandler(QXmlDTDHandler ptr handler)Method void QXmlReader::setDTDHandler(QXmlDTDHandler *handler)
voidsetDeclHandler(QXmlDeclHandler ptr handler)Method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)
voidsetEntityResolver(QXmlEntityResolver ptr handler)Method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)
voidsetErrorHandler(QXmlErrorHandler ptr handler)Method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)
voidsetFeature(string name,
bool value)
Method void QXmlReader::setFeature(const QString &name, bool value)
voidsetLexicalHandler(QXmlLexicalHandler ptr handler)Method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)
voidsetProperty(string name,
void * value)
Method void QXmlReader::setProperty(const QString &name, void *value)

Detailed description

[const] QXmlDTDHandler ptr DTDHandler

Description: Method QXmlDTDHandler * QXmlReader::DTDHandler()

[const] QXmlContentHandler ptr contentHandler

Description: Method QXmlContentHandler * QXmlReader::contentHandler()

void contentHandler=(QXmlContentHandler ptr handler)

Description: Method void QXmlReader::setContentHandler(QXmlContentHandler *handler)

void create

Description: Ensures the C++ object is created

Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created.

[const] QXmlDeclHandler ptr declHandler

Description: Method QXmlDeclHandler * QXmlReader::declHandler()

void declHandler=(QXmlDeclHandler ptr handler)

Description: Method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)

void destroy

Description: Explicitly destroy the object

Explicitly destroy the object on C++ side if it was owned by the Ruby interpreter. Subsequent access to this object will throw an exception. If the object is not owned by Ruby, this method will do nothing.

[const] bool destroyed?

Description: Returns a value indicating whether the object was already destroyed

This method returns true, if the object was destroyed, either explicitly or by the C++ side. The latter may happen, if the object is owned by a C++ object which got destroyed itself.

[const] QXmlEntityResolver ptr entityResolver

Description: Method QXmlEntityResolver * QXmlReader::entityResolver()

void entityResolver=(QXmlEntityResolver ptr handler)

Description: Method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)

[const] QXmlErrorHandler ptr errorHandler

Description: Method QXmlErrorHandler * QXmlReader::errorHandler()

void errorHandler=(QXmlErrorHandler ptr handler)

Description: Method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)

[const] bool feature(string name)

Description: Method bool QXmlReader::feature(const QString &name, bool *ok)

[const] bool feature(string name,bool ptr ok)

Description: Method bool QXmlReader::feature(const QString &name, bool *ok)

[const] bool hasFeature(string name)

Description: Method bool QXmlReader::hasFeature(const QString &name)

[const] bool hasProperty(string name)

Description: Method bool QXmlReader::hasProperty(const QString &name)

[const] bool is_const_object?

Description: Returns a value indicating whether the reference is a const reference

This method returns true, if self is a const reference. In that case, only const methods may be called on self.

[const] QXmlLexicalHandler ptr lexicalHandler

Description: Method QXmlLexicalHandler * QXmlReader::lexicalHandler()

void lexicalHandler=(QXmlLexicalHandler ptr handler)

Description: Method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)

bool parse(const QXmlInputSource input)

Description: Method bool QXmlReader::parse(const QXmlInputSource &input)

bool parse(const QXmlInputSource ptr input)

Description: Method bool QXmlReader::parse(const QXmlInputSource *input)

[const] void * property(string name)

Description: Method void * QXmlReader::property(const QString &name, bool *ok)

[const] void * property(string name,bool ptr ok)

Description: Method void * QXmlReader::property(const QString &name, bool *ok)

void setContentHandler(QXmlContentHandler ptr handler)

Description: Method void QXmlReader::setContentHandler(QXmlContentHandler *handler)

void setDTDHandler(QXmlDTDHandler ptr handler)

Description: Method void QXmlReader::setDTDHandler(QXmlDTDHandler *handler)

void setDeclHandler(QXmlDeclHandler ptr handler)

Description: Method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)

void setEntityResolver(QXmlEntityResolver ptr handler)

Description: Method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)

void setErrorHandler(QXmlErrorHandler ptr handler)

Description: Method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)

void setFeature(string name,bool value)

Description: Method void QXmlReader::setFeature(const QString &name, bool value)

void setLexicalHandler(QXmlLexicalHandler ptr handler)

Description: Method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)

void setProperty(string name,void * value)

Description: Method void QXmlReader::setProperty(const QString &name, void *value)