22#if !defined(XERCESC_INCLUDE_GUARD_XSELEMENTDECLARATION_HPP)
23#define XERCESC_INCLUDE_GUARD_XSELEMENTDECLARATION_HPP
42class SchemaElementDecl;
68 SchemaElementDecl*
const schemaElementDecl
185 short getSubstitutionGroupExclusions()
const;
206 short getDisallowedSubstitutions()
const;
231 friend class XSObjectFactory;
#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
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition: MemoryManager.hpp:40
Definition: XSAnnotation.hpp:42
Definition: XSComplexTypeDefinition.hpp:46
DERIVATION_TYPE
Definition: XSConstants.hpp:122
VALUE_CONSTRAINT
Definition: XSConstants.hpp:172
SCOPE
Definition: XSConstants.hpp:152
@ SCOPE_ABSENT
The scope of a declaration within named model groups or attribute groups is absent.
Definition: XSConstants.hpp:159
Definition: XSElementDeclaration.hpp:45
XSConstants::SCOPE getScope() const
Optional.
Definition: XSElementDeclaration.hpp:285
short fDisallowedSubstitutions
Definition: XSElementDeclaration.hpp:244
XSComplexTypeDefinition * getEnclosingCTDefinition() const
The complex type definition for locally scoped declarations (see scope).
Definition: XSElementDeclaration.hpp:290
XSNamedMap< XSIDCDefinition > * fIdentityConstraints
Definition: XSElementDeclaration.hpp:252
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.
XSNamespaceItem * getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component,...
short getDisallowedSubstitutions() const
[disallowed substitutions]: the returned value is a bit combination of the subset of { DERIVATION_SUB...
Definition: XSElementDeclaration.hpp:275
XSConstants::SCOPE fScope
Definition: XSElementDeclaration.hpp:246
XSAnnotation * fAnnotation
Definition: XSElementDeclaration.hpp:251
void setTypeDefinition(XSTypeDefinition *typeDefinition)
methods needed by implementation
Definition: XSElementDeclaration.hpp:295
const XMLCh * getNamespace() const
The [target namespace] of this object, or null if it is unspecified.
XSConstants::VALUE_CONSTRAINT getConstraintType() const
[Value constraint]: one of VC_NONE, VC_DEFAULT, VC_FIXED.
XSElementDeclaration * fSubstitutionGroupAffiliation
Definition: XSElementDeclaration.hpp:250
SchemaElementDecl * fSchemaElementDecl
Definition: XSElementDeclaration.hpp:247
XSTypeDefinition * fTypeDefinition
Definition: XSElementDeclaration.hpp:248
bool isDisallowedSubstitution(XSConstants::DERIVATION_TYPE disallowed)
Convenience method.
XSElementDeclaration * getSubstitutionGroupAffiliation() const
[substitution group affiliation]: optional.
Definition: XSElementDeclaration.hpp:265
bool getAbstract() const
{abstract} A boolean.
XSAnnotation * getAnnotation() const
Optional.
Definition: XSElementDeclaration.hpp:280
short fSubstitutionGroupExclusions
Definition: XSElementDeclaration.hpp:245
short getSubstitutionGroupExclusions() const
[substitution group exclusions]: the returned value is a bit combination of the subset of { DERIVATIO...
Definition: XSElementDeclaration.hpp:270
bool isSubstitutionGroupExclusion(XSConstants::DERIVATION_TYPE exclusion)
Convenience method.
XSNamedMap< XSIDCDefinition > * getIdentityConstraints()
identity-constraint definitions: a set of constraint definitions.
Definition: XSElementDeclaration.hpp:260
XSTypeDefinition * getTypeDefinition() const
[type definition]: either a simple type definition or a complex type definition.
Definition: XSElementDeclaration.hpp:255
const XMLCh * getConstraintValue()
[Value constraint]: the actual value with respect to the [type definition].
XSComplexTypeDefinition * fEnclosingTypeDefinition
Definition: XSElementDeclaration.hpp:249
bool getNillable() const
If nillable is true, then an element may also be valid if it carries the namespace qualified attribut...
const XMLCh * getName() const
The name of type NCName of this declaration as defined in XML Namespaces.
Definition: XSIDCDefinition.hpp:41
Definition: XSModel.hpp:60
Definition: XSNamespaceItem.hpp:54
Definition: XSObject.hpp:43
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:40