|
|
| XSTypeDefinition (TYPE_CATEGORY typeCategory, XSTypeDefinition *const xsBaseType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| The default constructor. More...
|
|
|
virtual | ~XSTypeDefinition () |
|
|
virtual const XMLCh * | getName () const =0 |
| The name of type NCName of this declaration as defined in XML Namespaces. More...
|
|
virtual const XMLCh * | getNamespace () const =0 |
| The [target namespace] of this object, or null if it is unspecified. More...
|
|
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. More...
|
|
|
TYPE_CATEGORY | getTypeCategory () const |
| Return whether this type definition is a simple type or complex type. More...
|
|
virtual XSTypeDefinition * | getBaseType ()=0 |
| {base type definition}: either a simple type definition or a complex type definition. More...
|
|
bool | isFinal (short toTest) |
| {final}. More...
|
|
short | getFinal () const |
| For complex types the returned value is a bit combination of the subset of {DERIVATION_EXTENSION, DERIVATION_RESTRICTION } corresponding to final set of this type or DERIVATION_NONE . More...
|
|
virtual bool | getAnonymous () const =0 |
| A boolean that specifies if the type definition is anonymous. More...
|
|
virtual bool | derivedFromType (const XSTypeDefinition *const ancestorType)=0 |
| Convenience method: check if this type is derived from the given ancestorType . More...
|
|
bool | derivedFrom (const XMLCh *typeNamespace, const XMLCh *name) |
| Convenience method: check if this type is derived from the given ancestor type. More...
|
|
| XSObject (XSConstants::COMPONENT_TYPE compType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| The default constructor. More...
|
|
virtual | ~XSObject () |
|
XSConstants::COMPONENT_TYPE | getType () const |
| The type of this object, i.e. More...
|
|
virtual XMLSize_t | getId () const |
| Optional. More...
|
|
void | setId (XMLSize_t id) |
| methods needed by implementation More...
|
|
void * | operator new (size_t size) |
| This method overrides operator new. More...
|
|
void * | operator new (size_t size, MemoryManager *memMgr) |
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation. More...
|
|
void * | operator new (size_t size, void *ptr) |
| This method overrides placement operator new. More...
|
|
void | operator delete (void *p) |
| This method overrides operator delete. More...
|
|
void | operator delete (void *p, MemoryManager *memMgr) |
| This method provides a matching delete for the custom operator new. More...
|
|
void | operator delete (void *p, void *ptr) |
| This method provides a matching delete for the placement new. More...
|
|
This class represents a complexType or simpleType definition.
This is always owned by the validator /parser object from which it is obtained.
short XSTypeDefinition::getFinal |
( |
| ) |
const |
For complex types the returned value is a bit combination of the subset of {DERIVATION_EXTENSION, DERIVATION_RESTRICTION
} corresponding to final
set of this type or DERIVATION_NONE
.
For simple types the returned value is a bit combination of the subset of { DERIVATION_RESTRICTION, DERIVATION_EXTENSION, DERIVATION_UNION, DERIVATION_LIST
} corresponding to final
set of this type or DERIVATION_NONE
.
References XERCES_CPP_NAMESPACE_END.