XSAttributeDeclaration Class Reference

Inheritance diagram for XSAttributeDeclaration:

XSObject XMemory

List of all members.

Public Member Functions

Constructors
 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.
Destructor
 ~XSAttributeDeclaration ()
overridden XSObject methods
const XMLCh * getName ()
 The name of type NCName of this declaration as defined in XML Namespaces.
const XMLCh * getNamespace ()
 The [target namespace] of this object, or null if it is unspecified.
XSNamespaceItemgetNamespaceItem ()
 A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
XSAttributeDeclaration methods
XSSimpleTypeDefinitiongetTypeDefinition () const
 [type definition]: A simple type definition
XSConstants::SCOPE getScope () const
 Optional.
XSComplexTypeDefinitiongetEnclosingCTDefinition ()
 The complex type definition for locally scoped declarations (see scope).
XSConstants::VALUE_CONSTRAINT getConstraintType () const
 Value constraint: one of VC_NONE, VC_DEFAULT, VC_FIXED.
const XMLCh * getConstraintValue ()
 Value constraint: The actual value with respect to the [type definition ].
XSAnnotationgetAnnotation () const
 Optional.
bool getRequired () const
 methods needed by implementation

Protected Attributes

SchemaAttDef * fAttDef
XSSimpleTypeDefinitionfTypeDefinition
XSAnnotationfAnnotation
XSConstants::SCOPE fScope
XSComplexTypeDefinitionfEnclosingCTDefinition

Friends

class XSObjectFactory


Constructor & Destructor Documentation

XSAttributeDeclaration::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.

Parameters:
attDef 
typeDef 
annot 
xsModel 
scope 
enclosingCTDefinition 
manager The configurable memory manager

XSAttributeDeclaration::~XSAttributeDeclaration (  ) 


Member Function Documentation

const XMLCh* XSAttributeDeclaration::getName (  )  [virtual]

The name of type NCName of this declaration as defined in XML Namespaces.

Reimplemented from XSObject.

const XMLCh* XSAttributeDeclaration::getNamespace (  )  [virtual]

The [target namespace] of this object, or null if it is unspecified.

Reimplemented from XSObject.

XSNamespaceItem* XSAttributeDeclaration::getNamespaceItem (  )  [virtual]

A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.

Reimplemented from XSObject.

XSSimpleTypeDefinition * XSAttributeDeclaration::getTypeDefinition (  )  const

[type definition]: A simple type definition

XSConstants::SCOPE XSAttributeDeclaration::getScope (  )  const

Optional.

One of SCOPE_GLOBAL, SCOPE_LOCAL, or SCOPE_ABSENT. If the scope is local, then the enclosingCTDefinition is present.

XSComplexTypeDefinition * XSAttributeDeclaration::getEnclosingCTDefinition (  ) 

The complex type definition for locally scoped declarations (see scope).

XSConstants::VALUE_CONSTRAINT XSAttributeDeclaration::getConstraintType (  )  const

Value constraint: one of VC_NONE, VC_DEFAULT, VC_FIXED.

const XMLCh* XSAttributeDeclaration::getConstraintValue (  ) 

Value constraint: The actual value with respect to the [type definition ].

XSAnnotation * XSAttributeDeclaration::getAnnotation (  )  const

Optional.

Annotation.

bool XSAttributeDeclaration::getRequired (  )  const

methods needed by implementation


Friends And Related Function Documentation

friend class XSObjectFactory [friend]


Member Data Documentation

SchemaAttDef* XSAttributeDeclaration::fAttDef [protected]

XSSimpleTypeDefinition* XSAttributeDeclaration::fTypeDefinition [protected]

XSAnnotation* XSAttributeDeclaration::fAnnotation [protected]

XSConstants::SCOPE XSAttributeDeclaration::fScope [protected]

XSComplexTypeDefinition* XSAttributeDeclaration::fEnclosingCTDefinition [protected]


The documentation for this class was generated from the following file:
Generated on Thu Feb 19 11:35:46 2009 for Xerces-C++ by  doxygen 1.5.4