Qt 4.8
|
Represents a XSD alternative object. More...
#include <qxsdalternative_p.h>
Public Types | |
typedef QList< XsdAlternative::Ptr > | List |
typedef QExplicitlySharedDataPointer< XsdAlternative > | Ptr |
Public Types inherited from QPatternist::NamedSchemaComponent | |
enum | BlockingConstraint { RestrictionConstraint = 1, ExtensionConstraint = 2, SubstitutionConstraint = 4 } |
typedef QExplicitlySharedDataPointer< NamedSchemaComponent > | Ptr |
Properties | |
XsdXPathExpression::Ptr | m_test |
SchemaType::Ptr | m_type |
Additional Inherited Members | |
Public Variables inherited from QSharedData | |
QAtomicInt | ref |
Represents a XSD alternative object.
Definition at line 74 of file qxsdalternative_p.h.
Definition at line 78 of file qxsdalternative_p.h.
Definition at line 77 of file qxsdalternative_p.h.
void XsdAlternative::setTest | ( | const XsdXPathExpression::Ptr & | test | ) |
Sets the xpath test
of the alternative.
Definition at line 48 of file qxsdalternative.cpp.
Referenced by QPatternist::XsdSchemaParser::parseAlternative().
void XsdAlternative::setType | ( | const SchemaType::Ptr & | type | ) |
Sets the type
of the alternative.
Definition at line 58 of file qxsdalternative.cpp.
Referenced by QPatternist::XsdSchemaParser::parseAlternative(), QPatternist::XsdSchemaParser::parseGlobalElement(), QPatternist::XsdSchemaParser::parseLocalElement(), and QPatternist::XsdSchemaResolver::resolveAlternativeTypes().
XsdXPathExpression::Ptr XsdAlternative::test | ( | ) | const |
Returns the xpath test of the alternative.
Definition at line 53 of file qxsdalternative.cpp.
Referenced by QPatternist::XsdSchemaParser::parseGlobalElement(), QPatternist::XsdSchemaParser::parseLocalElement(), and setTest().
SchemaType::Ptr XsdAlternative::type | ( | ) | const |
Returns the type of the alternative.
Definition at line 63 of file qxsdalternative.cpp.
Referenced by setType().
|
private |
Definition at line 105 of file qxsdalternative_p.h.
|
private |
Definition at line 106 of file qxsdalternative_p.h.