|
PSVIAttribute Class ReferenceRepresent the PSVI contributions for one attribute information item.
More...
Inheritance diagram for PSVIAttribute:
[legend]List of all members.
|
Public Member Functions |
|
| PSVIAttribute (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| The default constructor.
|
|
| ~PSVIAttribute () |
|
XSAttributeDeclaration * | getAttributeDeclaration () |
| An item isomorphic to the attribute declaration used to validate this attribute.
|
XSTypeDefinition * | getTypeDefinition () |
| An item isomorphic to the type definition used to validate this element.
|
XSSimpleTypeDefinition * | getMemberTypeDefinition () |
| If and only if that type definition is a simple type definition with {variety} union, or a complex type definition whose {content type} is a simple thype definition with {variety} union, then an item isomorphic to that member of the union's {member type definitions} which actually validated the element item's normalized value.
|
|
void | reset (const XMLCh *const valContext, PSVIItem::VALIDITY_STATE state, PSVIItem::ASSESSMENT_TYPE assessmentType, XSSimpleTypeDefinition *validatingType, XSSimpleTypeDefinition *memberType, const XMLCh *const defaultValue, const bool isSpecified, XSAttributeDeclaration *attrDecl, DatatypeValidator *dv) |
| reset this object.
|
void | setValue (const XMLCh *const normalizedValue) |
| set the schema normalized value (and implicitly the canonical value) of this object; intended to be used by the implementation.
|
void | updateValidity (VALIDITY_STATE newValue) |
| set VALIDITY_STATE to specified value; intended to be called by implementation.
|
Detailed Description
Represent the PSVI contributions for one attribute information item.
This is *always* owned by the scanner/parser object from which it is obtained. The validator will specify under what conditions it may be relied upon to have meaningful contents.
Constructor & Destructor Documentation
|
The default constructor.
- Parameters:
-
| manager | The configurable memory manager |
|
Member Function Documentation
|
An item isomorphic to the attribute declaration used to validate this attribute.
- Returns:
- an attribute declaration
|
|
If and only if that type definition is a simple type definition with {variety} union, or a complex type definition whose {content type} is a simple thype definition with {variety} union, then an item isomorphic to that member of the union's {member type definitions} which actually validated the element item's normalized value.
- Returns:
- a simple type declaration
Implements PSVIItem. |
|
An item isomorphic to the type definition used to validate this element.
- Returns:
- a type declaration
Implements PSVIItem. |
|
reset this object.
Intended to be called by the implementation. |
void PSVIAttribute::setValue |
( |
const XMLCh *const |
normalizedValue |
) |
|
|
|
set the schema normalized value (and implicitly the canonical value) of this object; intended to be used by the implementation.
|
|
set VALIDITY_STATE to specified value; intended to be called by implementation.
|
The documentation for this class was generated from the following file:
|