#include <xercesc/framework/psvi/XSAttributeDeclaration.hpp>
|
|
| | XSAttributeDeclaration (SchemaAttDef *const attDef, XSSimpleTypeDefinition *const typeDef, XSAnnotation *const annot, XSModel *const xsModel, XSConstants::SCOPE scope, XSComplexTypeDefinition *enclosingCTDefinition, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| | The default constructor.
|
| |
|
| | ~XSAttributeDeclaration () |
| |
|
| const XMLCh * | getName () const |
| | The name of type NCName of this declaration as defined in XML Namespaces.
|
| |
| const XMLCh * | getNamespace () const |
| | The [target namespace] of this object, or null if it is unspecified.
|
| |
| XSNamespaceItem * | getNamespaceItem () |
| | A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
|
| |
| | XSObject (XSConstants::COMPONENT_TYPE compType, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| | The default constructor.
|
| |
| virtual | ~XSObject () |
| |
| XSConstants::COMPONENT_TYPE | getType () const |
| | The type of this object, i.e.
|
| |
| virtual XMLSize_t | getId () const |
| | Optional.
|
| |
| void | setId (XMLSize_t id) |
| | methods needed by implementation
|
| |
| void * | operator new (size_t size) |
| | This method overrides operator new.
|
| |
| 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.
|
| |
| void * | operator new (size_t size, void *ptr) |
| | This method overrides placement operator new.
|
| |
| void | operator delete (void *p) |
| | This method overrides operator delete.
|
| |
| void | operator delete (void *p, MemoryManager *memMgr) |
| | This method provides a matching delete for the custom operator new.
|
| |
| void | operator delete (void *p, void *ptr) |
| | This method provides a matching delete for the placement new.
|
| |
◆ XSAttributeDeclaration()
The default constructor.
- Parameters
-
| attDef |
|
| typeDef |
|
| annot |
|
| xsModel |
|
| scope |
|
| enclosingCTDefinition | |
| manager | The configurable memory manager |
◆ ~XSAttributeDeclaration()
| XSAttributeDeclaration::~XSAttributeDeclaration |
( |
| ) |
|
◆ getAnnotation()
| XSAnnotation * XSAttributeDeclaration::getAnnotation |
( |
| ) |
const |
◆ getConstraintType()
Value constraint: one of VC_NONE, VC_DEFAULT, VC_FIXED.
◆ getConstraintValue()
| const XMLCh * XSAttributeDeclaration::getConstraintValue |
( |
| ) |
|
Value constraint: The actual value with respect to the [type definition ].
◆ getEnclosingCTDefinition()
◆ getName()
| const XMLCh * XSAttributeDeclaration::getName |
( |
| ) |
const |
|
virtual |
The name of type NCName of this declaration as defined in XML Namespaces.
Reimplemented from XSObject.
◆ getNamespace()
| const XMLCh * XSAttributeDeclaration::getNamespace |
( |
| ) |
const |
|
virtual |
The [target namespace] of this object, or null if it is unspecified.
Reimplemented from XSObject.
◆ getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
Reimplemented from XSObject.
◆ getRequired()
| bool XSAttributeDeclaration::getRequired |
( |
| ) |
const |
methods needed by implementation
◆ getScope()
Optional.
One of SCOPE_GLOBAL, SCOPE_LOCAL, or SCOPE_ABSENT. If the scope is local, then the enclosingCTDefinition is present.
References fScope.
◆ getTypeDefinition()
◆ XSObjectFactory
| friend class XSObjectFactory |
|
friend |
◆ fAnnotation
◆ fAttDef
| SchemaAttDef* XSAttributeDeclaration::fAttDef |
|
protected |
◆ fEnclosingCTDefinition
◆ fScope
◆ fTypeDefinition
The documentation for this class was generated from the following file: