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
129 bool getAbstract()
const;
175 short getProhibitedSubstitutions()
const;
238 friend class XSObjectFactory;
263 return fXSAttributeUseList;
273 return fXSSimpleTypeDefinition;
278 return fProhibitedSubstitution;
289 fBaseType = xsBaseType;
CONTENT_TYPE
Definition: XSComplexTypeDefinition.hpp:50
XSParticle * getParticle() const
A particle for mixed or element-only content model, otherwise null
Definition: XSComplexTypeDefinition.hpp:281
Definition: XSComplexTypeDefinition.hpp:45
Definition: XSAttributeUse.hpp:39
Definition: XSWildcard.hpp:41
virtual XSNamespaceItem * getNamespaceItem()=0
A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
ComplexTypeInfo * fComplexTypeInfo
Definition: XSComplexTypeDefinition.hpp:251
DERIVATION_TYPE
Definition: XSConstants.hpp:122
virtual bool derivedFromType(const XSTypeDefinition *const ancestorType)=0
Convenience method: check if this type is derived from the given ancestorType.
XSAttributeUseList * getAttributeUses()
A set of attribute uses.
Definition: XSComplexTypeDefinition.hpp:261
Definition: XSNamespaceItem.hpp:53
virtual const XMLCh * getNamespace() const =0
The [target namespace] of this object, or null if it is unspecified.
XSWildcard * fXSWildcard
Definition: XSComplexTypeDefinition.hpp:252
virtual XSTypeDefinition * getBaseType()=0
{base type definition}: either a simple type definition or a complex type definition.
XSWildcard * getAttributeWildcard() const
Optional.An attribute wildcard.
Definition: XSComplexTypeDefinition.hpp:266
XSAttributeUseList * fXSAttributeUseList
Definition: XSComplexTypeDefinition.hpp:253
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
Definition: XSModel.hpp:59
RefVectorOf< XSAttributeUse > XSAttributeUseList
Definition: XSConstants.hpp:48
Definition: XSAnnotation.hpp:41
Configurable memory manager.
Definition: MemoryManager.hpp:39
Definition: XSSimpleTypeDefinition.hpp:43
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
virtual const XMLCh * getName() const =0
The name of type NCName of this declaration as defined in XML Namespaces.
XSAnnotationList * fXSAnnotationList
Definition: XSComplexTypeDefinition.hpp:255
XSSimpleTypeDefinition * getSimpleType() const
A simple type definition corresponding to simple content model, otherwise null
Definition: XSComplexTypeDefinition.hpp:271
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
XSSimpleTypeDefinition * fXSSimpleTypeDefinition
Definition: XSComplexTypeDefinition.hpp:254
virtual bool getAnonymous() const =0
A boolean that specifies if the type definition is anonymous.
short fProhibitedSubstitution
Definition: XSComplexTypeDefinition.hpp:257
RefVectorOf< XSAnnotation > XSAnnotationList
Definition: XSConstants.hpp:41
Definition: XSParticle.hpp:41
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:39
XSParticle * fParticle
Definition: XSComplexTypeDefinition.hpp:256
short getProhibitedSubstitutions() const
[prohibited substitutions]: A subset of {extension, restriction} or DERIVATION_NONE represented as a ...
Definition: XSComplexTypeDefinition.hpp:276