Public Methods |
|
| XSElementDeclaration (SchemaElementDecl *const schemaElementDecl, XSTypeDefinition *const typeDefinition, XSElementDeclaration *const substitutionGroupAffiliation, XSAnnotation *const annot, XSNamedMap< XSIDCDefinition > *const identityConstraints, XSModel *const xsModel, XSConstants::SCOPE elemScope=XSConstants::SCOPE_ABSENT, XSComplexTypeDefinition *const enclosingTypeDefinition=0, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| The default constructor. More...
|
|
| ~XSElementDeclaration () |
|
const XMLCh * | getName () |
| The name of type NCName of this declaration as defined in XML Namespaces. More...
|
const XMLCh * | getNamespace () |
| The [target namespace] of this object, or null if it is unspecified. More...
|
XSNamespaceItem * | getNamespaceItem () |
| A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise. More...
|
|
XSTypeDefinition * | getTypeDefinition () const |
| [type definition]: either a simple type definition or a complex type definition. More...
|
XSConstants::SCOPE | getScope () const |
| Optional. More...
|
XSComplexTypeDefinition * | getEnclosingCTDefinition () const |
| The complex type definition for locally scoped declarations (see scope ). More...
|
XSConstants::VALUE_CONSTRAINT | getConstraintType () const |
| [Value constraint]: one of VC_NONE, VC_DEFAULT, VC_FIXED . More...
|
const XMLCh * | getConstraintValue () |
| [Value constraint]: the actual value with respect to the [type definition]. More...
|
bool | getNillable () const |
| If nillable is true, then an element may also be valid if it carries the namespace qualified attribute with local name nil from namespace http://www.w3.org/2001/XMLSchema-instance and value true (xsi:nil) even if it has no text or element content despite a content type which would otherwise require content. More...
|
XSNamedMap< XSIDCDefinition > * | getIdentityConstraints () |
| identity-constraint definitions: a set of constraint definitions. More...
|
XSElementDeclaration * | getSubstitutionGroupAffiliation () const |
| [substitution group affiliation]: optional. More...
|
bool | isSubstitutionGroupExclusion (XSConstants::DERIVATION_TYPE exclusion) |
| Convenience method. More...
|
short | getSubstitutionGroupExclusions () const |
| [substitution group exclusions]: the returned value is a bit combination of the subset of { DERIVATION_EXTENSION, DERIVATION_RESTRICTION } or DERIVATION_NONE . More...
|
bool | isDisallowedSubstitution (XSConstants::DERIVATION_TYPE disallowed) |
| Convenience method. More...
|
short | getDisallowedSubstitutions () const |
| [disallowed substitutions]: the returned value is a bit combination of the subset of { DERIVATION_SUBSTITUTION, DERIVATION_EXTENSION, DERIVATION_RESTRICTION } corresponding to substitutions disallowed by this XSElementDeclaration or DERIVATION_NONE . More...
|
bool | getAbstract () const |
| {abstract} A boolean. More...
|
XSAnnotation * | getAnnotation () const |
| Optional. More...
|
|
void | setTypeDefinition (XSTypeDefinition *typeDefinition) |
Protected Attributes |
short | fDisallowedSubstitutions |
short | fSubstitutionGroupExclusions |
XSConstants::SCOPE | fScope |
SchemaElementDecl * | fSchemaElementDecl |
XSTypeDefinition * | fTypeDefinition |
XSComplexTypeDefinition * | fEnclosingTypeDefinition |
XSElementDeclaration * | fSubstitutionGroupAffiliation |
XSAnnotation * | fAnnotation |
XSNamedMap< XSIDCDefinition > * | fIdentityConstraints |
Friends |
class | XSObjectFactory |