Go to the documentation of this file.
22 #if !defined(XERCESC_INCLUDE_GUARD_XSCOMPLEXTYPEDEFINITION_HPP)
23 #define XERCESC_INCLUDE_GUARD_XSCOMPLEXTYPEDEFINITION_HPP
43 class ComplexTypeInfo;
56 CONTENTTYPE_EMPTY = 0,
61 CONTENTTYPE_SIMPLE = 1,
67 CONTENTTYPE_ELEMENT = 2,
94 ComplexTypeInfo*
const complexTypeInfo
175 short getProhibitedSubstitutions()
const;
238 friend class XSObjectFactory;
XSParticle * fParticle
Definition: XSComplexTypeDefinition.hpp:256
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
XSComplexTypeDefinition(ComplexTypeInfo *const complexTypeInfo, XSWildcard *const xsWildcard, XSSimpleTypeDefinition *const xsSimpleType, XSAttributeUseList *const xsAttList, XSTypeDefinition *const xsBaseType, XSParticle *const xsParticle, XSAnnotation *const headAnnot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The default constructor.
CONTENT_TYPE
Definition: XSComplexTypeDefinition.hpp:50
char16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
ComplexTypeInfo * fComplexTypeInfo
Definition: XSComplexTypeDefinition.hpp:251
Definition: XSNamespaceItem.hpp:54
Definition: XSParticle.hpp:42
XSAnnotationList * getAnnotations()
A set of [annotations].
XSAttributeUseList * getAttributeUses()
A set of attribute uses.
Definition: XSComplexTypeDefinition.hpp:261
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
bool getAnonymous() const
A boolean that specifies if the type definition is anonymous.
Definition: XSModel.hpp:60
XSConstants::DERIVATION_TYPE getDerivationMethod() const
[derivation method]: either DERIVATION_EXTENSION, DERIVATION_RESTRICTION, or DERIVATION_NONE (see XSO...
XSWildcard * getAttributeWildcard() const
Optional.An attribute wildcard.
Definition: XSComplexTypeDefinition.hpp:266
~XSComplexTypeDefinition()
XSAttributeUseList * fXSAttributeUseList
Definition: XSComplexTypeDefinition.hpp:253
DERIVATION_TYPE
Definition: XSConstants.hpp:122
Definition: XSWildcard.hpp:42
XSWildcard * fXSWildcard
Definition: XSComplexTypeDefinition.hpp:252
RefVectorOf< XSAttributeUse > XSAttributeUseList
Definition: XSConstants.hpp:48
bool getAbstract() const
[abstract]: a boolean.
const XMLCh * getName() const
The name of type NCName of this declaration as defined in XML Namespaces.
XSTypeDefinition * getBaseType()
{base type definition}: either a simple type definition or a complex type definition.
Definition: XSAnnotation.hpp:42
bool derivedFromType(const XSTypeDefinition *const ancestorType)
Convenience method: check if this type is derived from the given ancestorType.
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:40
XSNamespaceItem * getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component,...
Definition: XSAttributeUse.hpp:40
Definition: XSComplexTypeDefinition.hpp:46
XSSimpleTypeDefinition * getSimpleType() const
A simple type definition corresponding to simple content model, otherwise null
Definition: XSComplexTypeDefinition.hpp:271
XSAnnotationList * fXSAnnotationList
Definition: XSComplexTypeDefinition.hpp:255
const XMLCh * getNamespace() const
The [target namespace] of this object, or null if it is unspecified.
short fProhibitedSubstitution
Definition: XSComplexTypeDefinition.hpp:257
RefVectorOf< XSAnnotation > XSAnnotationList
Definition: XSConstants.hpp:41
XSSimpleTypeDefinition * fXSSimpleTypeDefinition
Definition: XSComplexTypeDefinition.hpp:254
Configurable memory manager.
Definition: MemoryManager.hpp:40
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
CONTENT_TYPE getContentType() const
[content type]: one of empty (CONTENTTYPE_EMPTY), a simple type definition (CONTENTTYPE_SIMPLE),...
XSTypeDefinition * fBaseType
Definition: XSTypeDefinition.hpp:198
bool isProhibitedSubstitution(XSConstants::DERIVATION_TYPE toTest)
[prohibited substitutions]: a subset of {extension, restriction}
short getProhibitedSubstitutions() const
[prohibited substitutions]: A subset of {extension, restriction} or DERIVATION_NONE represented as a ...
Definition: XSComplexTypeDefinition.hpp:276
XSParticle * getParticle() const
A particle for mixed or element-only content model, otherwise null
Definition: XSComplexTypeDefinition.hpp:281
Definition: XSSimpleTypeDefinition.hpp:44