22#if !defined(XERCESC_INCLUDE_GUARD_XSTYPEDEFINITION_HPP)
23#define XERCESC_INCLUDE_GUARD_XSTYPEDEFINITION_HPP
143 short getFinal()
const;
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
Definition XSModel.hpp:60
Definition XSNamespaceItem.hpp:54
Definition XSObject.hpp:43
This class represents a complexType or simpleType definition.
Definition XSTypeDefinition.hpp:40
virtual const XMLCh * getName() const =0
The name of type NCName of this declaration as defined in XML Namespaces.
bool isFinal(short toTest)
{final}.
short fFinal
Definition XSTypeDefinition.hpp:197
virtual bool derivedFromType(const XSTypeDefinition *const ancestorType)=0
Convenience method: check if this type is derived from the given ancestorType.
virtual const XMLCh * getNamespace() const =0
The [target namespace] of this object, or null if it is unspecified.
virtual XSTypeDefinition * getBaseType()=0
{base type definition}: either a simple type definition or a complex type definition.
XSTypeDefinition(TYPE_CATEGORY typeCategory, XSTypeDefinition *const xsBaseType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The default constructor.
virtual ~XSTypeDefinition()
TYPE_CATEGORY fTypeCategory
Definition XSTypeDefinition.hpp:196
short getFinal() const
For complex types the returned value is a bit combination of the subset of {DERIVATION_EXTENSION,...
Definition XSTypeDefinition.hpp:206
TYPE_CATEGORY
Definition XSTypeDefinition.hpp:43
virtual XSNamespaceItem * getNamespaceItem()=0
A namespace schema information item corresponding to the target namespace of the component,...
XSTypeDefinition * fBaseType
Definition XSTypeDefinition.hpp:198
virtual bool getAnonymous() const =0
A boolean that specifies if the type definition is anonymous.
TYPE_CATEGORY getTypeCategory() const
Return whether this type definition is a simple type or complex type.
Definition XSTypeDefinition.hpp:201
bool derivedFrom(const XMLCh *typeNamespace, const XMLCh *name)
Convenience method: check if this type is derived from the given ancestor type.