Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
This class contains helper functions related to XML, for validating character classes, productions in the XML specification, and so on. More...
#include <qxmlutils_p.h>
Static Public Member Functions | |
static bool | isEncName (QStringView encName) |
static bool | isChar (const char32_t c) |
static bool | isNameChar (const QChar c) |
static bool | isLetter (const QChar c) |
static bool | isNCName (QStringView ncName) |
static bool | isPublicID (QStringView candidate) |
This class contains helper functions related to XML, for validating character classes, productions in the XML specification, and so on.
Definition at line 32 of file qxmlutils_p.h.
|
static |
Determines whether c is a valid instance of production [2]Char in the XML 1.0 specification. If it is, true is returned, otherwise false.
Definition at line 238 of file qxmlutils.cpp.
Referenced by fixedCharData().
|
static |
Determines whether encName is a valid instance of production [81]EncName in the XML 1.0 specification. If it is, true is returned, otherwise false.
Definition at line 198 of file qxmlutils.cpp.
References ch, QtMiscUtils::isAsciiLetterOrNumber(), QtMiscUtils::isAsciiLower(), and QtMiscUtils::isAsciiUpper().
|
static |
Determines whether c is a valid instance of production [84]Letter in the XML 1.0 specification. If it is, true is returned, otherwise false.
Definition at line 224 of file qxmlutils.cpp.
Referenced by fixedXmlName(), and isNCName().
|
static |
Determines whether c is a valid instance of production [4]NameChar in the XML 1.0 specification. If it is, true is returned, otherwise false.
Definition at line 260 of file qxmlutils.cpp.
Referenced by fixedXmlName(), and isNCName().
|
static |
Determines whether c is a valid instance of production [4]NCName in the XML 1.0 Namespaces specification. If it is, true is returned, otherwise false.
Definition at line 335 of file qxmlutils.cpp.
References at, isLetter(), and isNameChar().
|
static |
Determines whether c is a valid instance of production [12] PubidLiteral in the XML 1.0 specification. If it is, true is returned, otherwise false.
Definition at line 283 of file qxmlutils.cpp.
References ch, and QtMiscUtils::isAsciiLetterOrNumber().
Referenced by fixedPubidLiteral().