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

API reference - Class QXmlContentHandler

Notation used in Ruby API documentation

Description: Binding of QXmlContentHandler

Public methods

boolcharacters(string ch)Method bool QXmlContentHandler::characters(const QString &ch)
voidcreateEnsures the C++ object is created
voiddestroyExplicitly destroy the object
[const]booldestroyed?Returns a value indicating whether the object was already destroyed
boolendDocumentMethod bool QXmlContentHandler::endDocument()
boolendElement(string namespaceURI,
string localName,
string qName)
Method bool QXmlContentHandler::endElement(const QString &namespaceURI, const QString &localName, const QString &qName)
boolendPrefixMapping(string prefix)Method bool QXmlContentHandler::endPrefixMapping(const QString &prefix)
[const]stringerrorStringMethod QString QXmlContentHandler::errorString()
boolignorableWhitespace(string ch)Method bool QXmlContentHandler::ignorableWhitespace(const QString &ch)
[const]boolis_const_object?Returns a value indicating whether the reference is a const reference
boolprocessingInstruction(string target,
string data)
Method bool QXmlContentHandler::processingInstruction(const QString &target, const QString &data)
voidsetDocumentLocator(QXmlLocator ptr locator)Method void QXmlContentHandler::setDocumentLocator(QXmlLocator *locator)
boolskippedEntity(string name)Method bool QXmlContentHandler::skippedEntity(const QString &name)
boolstartDocumentMethod bool QXmlContentHandler::startDocument()
boolstartElement(string namespaceURI,
string localName,
string qName,
const QXmlAttributes atts)
Method bool QXmlContentHandler::startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)
boolstartPrefixMapping(string prefix,
string uri)
Method bool QXmlContentHandler::startPrefixMapping(const QString &prefix, const QString &uri)

Detailed description

bool characters(string ch)

Description: Method bool QXmlContentHandler::characters(const QString &ch)

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.

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.

bool endDocument

Description: Method bool QXmlContentHandler::endDocument()

bool endElement(string namespaceURI,string localName,string qName)

Description: Method bool QXmlContentHandler::endElement(const QString &namespaceURI, const QString &localName, const QString &qName)

bool endPrefixMapping(string prefix)

Description: Method bool QXmlContentHandler::endPrefixMapping(const QString &prefix)

[const] string errorString

Description: Method QString QXmlContentHandler::errorString()

bool ignorableWhitespace(string ch)

Description: Method bool QXmlContentHandler::ignorableWhitespace(const QString &ch)

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

bool processingInstruction(string target,string data)

Description: Method bool QXmlContentHandler::processingInstruction(const QString &target, const QString &data)

void setDocumentLocator(QXmlLocator ptr locator)

Description: Method void QXmlContentHandler::setDocumentLocator(QXmlLocator *locator)

bool skippedEntity(string name)

Description: Method bool QXmlContentHandler::skippedEntity(const QString &name)

bool startDocument

Description: Method bool QXmlContentHandler::startDocument()

bool startElement(string namespaceURI,string localName,string qName,const QXmlAttributes atts)

Description: Method bool QXmlContentHandler::startElement(const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &atts)

bool startPrefixMapping(string prefix,string uri)

Description: Method bool QXmlContentHandler::startPrefixMapping(const QString &prefix, const QString &uri)