|
XSIDCDefinition Class ReferenceThis class describes all properties of a Schema Identity Constraint Definition component.
More...
Inheritance diagram for XSIDCDefinition:
[legend]List of all members.
|
Public Types |
enum | IC_CATEGORY { IC_KEY = 1,
IC_KEYREF = 2,
IC_UNIQUE = 3
} |
Public Member Functions |
|
| XSIDCDefinition (IdentityConstraint *const identityConstraint, XSIDCDefinition *const keyIC, XSAnnotation *const headAnnot, StringList *const stringList, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| The default constructor.
|
|
| ~XSIDCDefinition () |
|
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.
|
XSNamespaceItem * | getNamespaceItem () |
| A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
|
|
IC_CATEGORY | getCategory () const |
| [identity-constraint category]: one of IC_KEY, IC_KEYREF or IC_UNIQUE.
|
const XMLCh * | getSelectorStr () |
| [selector]: a restricted XPath expression.
|
StringList * | getFieldStrs () |
| [fields]: a non-empty list of restricted XPath ([XPath]) expressions.
|
XSIDCDefinition * | getRefKey () const |
| [referenced key]: required if [identity-constraint category] is IC_KEYREF, forbidden otherwise (when an identity-constraint definition with [ identity-constraint category] equal to IC_KEY or IC_UNIQUE).
|
XSAnnotationList * | getAnnotations () |
| A set of [annotations].
|
Protected Attributes |
IdentityConstraint * | fIdentityConstraint |
XSIDCDefinition * | fKey |
StringList * | fStringList |
XSAnnotationList * | fXSAnnotationList |
Detailed Description
This class describes all properties of a Schema Identity Constraint Definition component.
This is *always* owned by the validator /parser object from which it is obtained.
Member Enumeration Documentation
|
- Enumeration values:
-
IC_KEY |
|
IC_KEYREF |
|
IC_UNIQUE |
|
|
Constructor & Destructor Documentation
|
The default constructor.
- Parameters:
-
| identityConstraint | |
| keyIC | |
| headAnnot | |
| stringList | |
| xsModel | |
| manager | The configurable memory manager |
|
Member Function Documentation
|
[identity-constraint category]: one of IC_KEY, IC_KEYREF or IC_UNIQUE.
|
|
[fields]: a non-empty list of restricted XPath ([XPath]) expressions.
|
const XMLCh* XSIDCDefinition::getName |
( |
|
) |
[virtual] |
|
|
The name of type NCName of this declaration as defined in XML Namespaces.
Reimplemented from XSObject. |
const XMLCh* XSIDCDefinition::getNamespace |
( |
|
) |
[virtual] |
|
|
The [target namespace] of this object, or null if it is unspecified.
Reimplemented from XSObject. |
|
A namespace schema information item corresponding to the target namespace of the component, if it's globally declared; or null otherwise.
Reimplemented from XSObject. |
|
[referenced key]: required if [identity-constraint category] is IC_KEYREF, forbidden otherwise (when an identity-constraint definition with [ identity-constraint category] equal to IC_KEY or IC_UNIQUE).
|
const XMLCh* XSIDCDefinition::getSelectorStr |
( |
|
) |
|
|
|
[selector]: a restricted XPath expression.
|
Member Data Documentation
The documentation for this class was generated from the following file:
|