52 #ifndef Patternist_XPathHelper_H 53 #define Patternist_XPathHelper_H 110 template<const ReportContext::ErrorCode code,
typename TReportContext>
112 const TReportContext &context,
120 context->error(QtXmlPatterns::tr(
"Only the Unicode Codepoint " 121 "Collation is supported(%1). %2 is unsupported.")
145 const int len =
string.length();
147 for(
int i = 0; i < len; ++i)
149 if(!
string.
at(i).isSpace())
static void checkCollationSupport(const QString &collation, const TReportContext &context, const SourceLocationReflection *const r)
static bool isWhitespaceOnly(const QString &string)
#define QT_END_NAMESPACE
This macro expands to.
const char *const UNICODE_COLLATION
#define at(className, varName)
Due to strong interdependencies, this file contains the definitions for the classes Item...
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
The QUrl class provides a convenient interface for working with URLs.
The QString class provides a Unicode character string.
static bool isReservedNamespace(const QXmlName::NamespaceCode ns)
XPathHelper()
This default constructor has no definition, in order to avoid instantiation, since it makes no sense ...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The namespace for the internal API of QtXmlPatterns.
The QStringRef class provides a thin wrapper around QString substrings.
Contains functions used for formatting arguments, such as keywords and paths, in translated strings...
Contains helper and utility functions.
NodeKind
Identifies a kind of node.
static void splitQName(const QString &qName, QString &prefix, QString &localName)
Splits qName into localName and prefix.
static QString formatURI(const NamePool::Ptr &np, const QXmlName::NamespaceCode &uri)
Formats uri, that's considered to be a URI, for display.
static QPatternist::ItemTypePtr typeFromKind(const QXmlNodeModelIndex::NodeKind nodeKind)
static bool isQName(const QString &qName)
static bool isWhitespaceOnly(const QStringRef &string)
Determines whether consists only of whitespace. Characters considered whitespace are the ones for whi...
static QUrl normalizeQueryURI(const QUrl &uri)
Base class for all instances that represents something at a certain location.