![]() |
Qt 6.x
The Qt SDK
|
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>
Collaboration diagram for QXmlUtils: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().
Here is the caller graph for this function:
|
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, QStringView::front(), QtMiscUtils::isAsciiLetterOrNumber(), QtMiscUtils::isAsciiLower(), QtMiscUtils::isAsciiUpper(), QStringView::isEmpty(), QStringView::mid(), and QChar::unicode().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
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 QStringView::at(), at, QStringView::isEmpty(), isLetter(), and isNameChar().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function: