IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Qt XML Patterns C++ Classes

The Qt XML Patterns module provides support for XPath, XQuery, XSLT and XML Schema validation.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Qt XML Patterns C++ Classes

The Qt XML Patterns module provides support for XPath, XQuery, XSLT and XML Schema validation.

Classes

  • QAbstractMessageHandler: The QAbstractMessageHandler class provides a callback interface for handling messages.

  • QAbstractUriResolver: The QAbstractUriResolver class is a callback interface for resolving Uniform Resource Identifiers. A Uniform Resource Identifier (URI) is a string that uniquely identifies a resource. URIs are versatile global identifiers. It is often useful to transform a URI that identifies something logical into a URI that locates something physical (a URL), or to simply map a URI to a different URI. QAbstractUriResolver::resolve() provides this functionality.

  • QAbstractXmlNodeModel: The QAbstractXmlNodeModel class is an abstract base class for modeling non-XML data to look like XML for QXmlQuery.

  • QAbstractXmlReceiver: The QAbstractXmlReceiver class provides a callback interface for transforming the output of a QXmlQuery.

  • QSimpleXmlNodeModel: The QSimpleXmlNodeModel class is an implementation of QAbstractXmlNodeModel sufficient for many common cases.

  • QSourceLocation: The QSourceLocation class identifies a location in a resource by URI, line, and column.

  • QXmlFormatter: The QXmlFormatter class is an implementation of QXmlSerializer for transforming XQuery output into formatted XML.

  • QXmlItem: The QXmlItem class contains either an XML node or an atomic value.

  • QXmlName: The QXmlName class represents the name of an XML node, in an efficient, namespace-aware way. QXmlName represents the name of an XML node in a way that is both efficient and safe for comparing names. Normally, an XML node represents an XML element or attribute, but QXmlName can also represent the names of other kinds of nodes, e.g., QAbstractXmlReceiver::processingInstruction() and QAbstractXmlReceiver::namespaceBinding().

  • QXmlNamePool: The QXmlNamePool class is a table of shared strings referenced by instances of QXmlName.

  • QXmlNodeModelIndex: The QXmlNodeModelIndex class identifies a node in an XML node model subclassed from QAbstractXmlNodeModel.

  • QXmlQuery: The QXmlQuery class performs XQueries on XML data, or on non-XML data modeled to look like XML.

  • QXmlResultItems: The QXmlResultItems class iterates through the results of evaluating an XQuery in QXmlQuery.

  • QXmlSchema: The QXmlSchema class provides loading and validation of a W3C XML Schema.

  • QXmlSchemaValidator: The QXmlSchemaValidator class validates XML instance documents against a W3C XML Schema.

  • QXmlSerializer: The QXmlSerializer class is an implementation of QAbstractXmlReceiver for transforming XQuery output into unformatted XML.

Detailed Description

The Qt XML Patterns module provides support for XPath, XQuery, XSLT and XML Schema validation.

To include the definitions of the module's classes, use the following directive:

 
Sélectionnez
#include <QtXmlPatterns>

To link against the module, add this line to your qmake .pro file:

 
Sélectionnez
QT += xmlpatterns

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+