API reference - Class QXmlReader

Notation used in Ruby API documentation

Description: Binding of QXmlReader

Class hierarchy: QXmlReader

Public constructors

new QXmlReadernewConstructor QXmlReader::QXmlReader()

Public methods

[virtual,const]QXmlDTDHandler ptrDTDHandlerVirtual method QXmlDTDHandler *QXmlReader::DTDHandler()
[const]voidassign(const QXmlReader other)Assign the contents of another object to self
[virtual,const]QXmlContentHandler ptrcontentHandlerVirtual method QXmlContentHandler *QXmlReader::contentHandler()
voidcontentHandler=(QXmlContentHandler ptr handler)Method void QXmlReader::setContentHandler(QXmlContentHandler *handler)
voidcreateEnsures the C++ object is created
[virtual,const]QXmlDeclHandler ptrdeclHandlerVirtual method 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]QXmlReaderdupCreates a copy of self
[virtual,const]QXmlEntityResolver ptrentityResolverVirtual method QXmlEntityResolver *QXmlReader::entityResolver()
voidentityResolver=(QXmlEntityResolver ptr handler)Method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)
[virtual,const]QXmlErrorHandler ptrerrorHandlerVirtual method QXmlErrorHandler *QXmlReader::errorHandler()
voiderrorHandler=(QXmlErrorHandler ptr handler)Method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)
[virtual,const]boolfeature(string name,
bool ptr ok)
Virtual method bool QXmlReader::feature(const QString &name, bool *ok)
[virtual,const]boolhasFeature(string name)Virtual method bool QXmlReader::hasFeature(const QString &name)
[virtual,const]boolhasProperty(string name)Virtual method bool QXmlReader::hasProperty(const QString &name)
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
[virtual,const]QXmlLexicalHandler ptrlexicalHandlerVirtual method QXmlLexicalHandler *QXmlReader::lexicalHandler()
voidlexicalHandler=(QXmlLexicalHandler ptr handler)Method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)
[virtual]boolparse(const QXmlInputSource input)Virtual method bool QXmlReader::parse(const QXmlInputSource &input)
[virtual]boolparse(const QXmlInputSource ptr input)Virtual method bool QXmlReader::parse(const QXmlInputSource *input)
[virtual,const]void *property(string name,
bool ptr ok)
Virtual method void *QXmlReader::property(const QString &name, bool *ok)
[virtual]voidsetContentHandler(QXmlContentHandler ptr handler)Virtual method void QXmlReader::setContentHandler(QXmlContentHandler *handler)
[virtual]voidsetDTDHandler(QXmlDTDHandler ptr handler)Virtual method void QXmlReader::setDTDHandler(QXmlDTDHandler *handler)
[virtual]voidsetDeclHandler(QXmlDeclHandler ptr handler)Virtual method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)
[virtual]voidsetEntityResolver(QXmlEntityResolver ptr handler)Virtual method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)
[virtual]voidsetErrorHandler(QXmlErrorHandler ptr handler)Virtual method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)
[virtual]voidsetFeature(string name,
bool value)
Virtual method void QXmlReader::setFeature(const QString &name, bool value)
[virtual]voidsetLexicalHandler(QXmlLexicalHandler ptr handler)Virtual method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)
[virtual]voidsetProperty(string name,
void * value)
Virtual method void QXmlReader::setProperty(const QString &name, void *value)

Detailed description

[virtual,const] QXmlDTDHandler ptr DTDHandler

Description: Virtual method QXmlDTDHandler *QXmlReader::DTDHandler()

This method can be reimplemented in a derived class.

[const] void assign(const QXmlReader other)

Description: Assign the contents of another object to self

This method assigns the contents of another object to self. This is a deep copy that does not only copy the reference but the actual content.

[virtual,const] QXmlContentHandler ptr contentHandler

Description: Virtual method QXmlContentHandler *QXmlReader::contentHandler()

This method can be reimplemented in a derived class.

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.

[virtual,const] QXmlDeclHandler ptr declHandler

Description: Virtual method QXmlDeclHandler *QXmlReader::declHandler()

This method can be reimplemented in a derived class.

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] QXmlReader dup

Description: Creates a copy of self

[virtual,const] QXmlEntityResolver ptr entityResolver

Description: Virtual method QXmlEntityResolver *QXmlReader::entityResolver()

This method can be reimplemented in a derived class.

void entityResolver=(QXmlEntityResolver ptr handler)

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

[virtual,const] QXmlErrorHandler ptr errorHandler

Description: Virtual method QXmlErrorHandler *QXmlReader::errorHandler()

This method can be reimplemented in a derived class.

void errorHandler=(QXmlErrorHandler ptr handler)

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

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

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

This method can be reimplemented in a derived class.

[virtual,const] bool hasFeature(string name)

Description: Virtual method bool QXmlReader::hasFeature(const QString &name)

This method can be reimplemented in a derived class.

[virtual,const] bool hasProperty(string name)

Description: Virtual method bool QXmlReader::hasProperty(const QString &name)

This method can be reimplemented in a derived class.

[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.

[virtual,const] QXmlLexicalHandler ptr lexicalHandler

Description: Virtual method QXmlLexicalHandler *QXmlReader::lexicalHandler()

This method can be reimplemented in a derived class.

void lexicalHandler=(QXmlLexicalHandler ptr handler)

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

[static] new QXmlReader new

Description: Constructor QXmlReader::QXmlReader()

This method creates an object of class QXmlReader.

[virtual] bool parse(const QXmlInputSource input)

Description: Virtual method bool QXmlReader::parse(const QXmlInputSource &input)

This method can be reimplemented in a derived class.

[virtual] bool parse(const QXmlInputSource ptr input)

Description: Virtual method bool QXmlReader::parse(const QXmlInputSource *input)

This method can be reimplemented in a derived class.

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

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

This method can be reimplemented in a derived class.

[virtual] void setContentHandler(QXmlContentHandler ptr handler)

Description: Virtual method void QXmlReader::setContentHandler(QXmlContentHandler *handler)

This method can be reimplemented in a derived class.

[virtual] void setDTDHandler(QXmlDTDHandler ptr handler)

Description: Virtual method void QXmlReader::setDTDHandler(QXmlDTDHandler *handler)

This method can be reimplemented in a derived class.

[virtual] void setDeclHandler(QXmlDeclHandler ptr handler)

Description: Virtual method void QXmlReader::setDeclHandler(QXmlDeclHandler *handler)

This method can be reimplemented in a derived class.

[virtual] void setEntityResolver(QXmlEntityResolver ptr handler)

Description: Virtual method void QXmlReader::setEntityResolver(QXmlEntityResolver *handler)

This method can be reimplemented in a derived class.

[virtual] void setErrorHandler(QXmlErrorHandler ptr handler)

Description: Virtual method void QXmlReader::setErrorHandler(QXmlErrorHandler *handler)

This method can be reimplemented in a derived class.

[virtual] void setFeature(string name,bool value)

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

This method can be reimplemented in a derived class.

[virtual] void setLexicalHandler(QXmlLexicalHandler ptr handler)

Description: Virtual method void QXmlReader::setLexicalHandler(QXmlLexicalHandler *handler)

This method can be reimplemented in a derived class.

[virtual] void setProperty(string name,void * value)

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

This method can be reimplemented in a derived class.