Qt 4.8
|
A helper class for automatically handling namespace scopes of elements. More...
Public Functions | |
ElementNamespaceHandler (const XsdSchemaToken::NodeName &tag, XsdSchemaParser *parser) | |
~ElementNamespaceHandler () | |
Properties | |
XsdSchemaParser * | m_parser |
A helper class for automatically handling namespace scopes of elements.
This class should be instantiated at the beginning of each parse XYZ method.
Definition at line 113 of file qxsdschemaparser.cpp.
|
inline |
Creates a new element namespace handler object.
It checks whether the parser
is on the right tag
and it creates a new namespace context that contains the inherited and local namespace declarations.
Definition at line 122 of file qxsdschemaparser.cpp.
|
inline |
Destroys the element namespace handler object.
It destroys the local namespace context.
Definition at line 136 of file qxsdschemaparser.cpp.
|
private |
Definition at line 142 of file qxsdschemaparser.cpp.
Referenced by ElementNamespaceHandler(), QPatternist::TagValidationHandler::finalize(), QPatternist::TagValidationHandler::TagValidationHandler(), QPatternist::TagValidationHandler::validate(), and ~ElementNamespaceHandler().