#include <xercesc/framework/psvi/PSVIItem.hpp>
|
| XMemory () |
| Protected default constructor.
|
|
◆ ASSESSMENT_TYPE
Enumerator |
---|
VALIDATION_NONE | Validation status indicating that schema validation has been performed and the element in question has specifically been skipped.
|
VALIDATION_PARTIAL | Validation status indicating that schema validation has been performed on the element in question under the rules of lax validation.
|
VALIDATION_FULL | Validation status indicating that full schema validation has been performed on the element.
|
◆ VALIDITY_STATE
Enumerator |
---|
VALIDITY_NOTKNOWN | Validity value indicating that validation has either not been performed or that a strict assessment of validity could not be performed
|
VALIDITY_INVALID | Validity value indicating that validation has been strictly assessed and the element in question is invalid according to the rules of schema validation.
|
VALIDITY_VALID | Validity value indicating that validation has been strictly assessed and the element in question is valid according to the rules of schema validation.
|
◆ PSVIItem()
The default constructor.
- Parameters
-
manager | The configurable memory manager |
◆ ~PSVIItem()
◆ getActualValue()
virtual XSValue * PSVIItem::getActualValue |
( |
| ) |
const |
|
virtual |
Get actual value in the form of XSValue, caller needs to delete the object returned.
- Returns
- an XSValue
◆ getCanonicalRepresentation()
const XMLCh * PSVIItem::getCanonicalRepresentation |
( |
| ) |
const |
Return the canonical representation of this value.
Note that, formally, this is not a PSVI property.
- Returns
- string representing the canonical representation, if this item was validated by a simple type definition for which canonical representations of values are defined.
References fCanonicalValue.
◆ getIsSchemaSpecified()
bool PSVIItem::getIsSchemaSpecified |
( |
| ) |
const |
◆ 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.
- Returns
- a simple type declaration
Implemented in PSVIAttribute, and PSVIElement.
◆ getSchemaDefault()
const XMLCh * PSVIItem::getSchemaDefault |
( |
| ) |
|
◆ getSchemaNormalizedValue()
const XMLCh * PSVIItem::getSchemaNormalizedValue |
( |
| ) |
|
◆ getTypeDefinition()
An item isomorphic to the type definition used to validate this element.
- Returns
- a type declaration
Implemented in PSVIAttribute, and PSVIElement.
◆ getValidationAttempted()
Determines the extent to which the item has been validated.
- Returns
- return the [validation attempted] property. The possible values are VALIDATION_NONE, VALIDATION_ORDERED_PARTIAL and VALIDATION_FULL
References fAssessmentType.
◆ getValidationContext()
const XMLCh * PSVIItem::getValidationContext |
( |
| ) |
|
◆ getValidity()
Determine the validity of the node with respect to the validation being attempted.
- Returns
- return the [validity] property. Possible values are: VALIDITY_UNKNOWN, VALIDITY_INVALID, VALIDITY_VALID
References fValidityState.
◆ reset()
reset the object
- Parameters
-
validationContext | corresponds to schema validation context property |
normalizedValue | corresponds to schema normalized value property |
validityState | state of item's validity |
assessmentType | type of assessment carried out on item |
◆ setValidationAttempted()
methods needed by implementation
◆ setValidity()
◆ fAssessmentType
◆ fCanonicalValue
XMLCh* PSVIItem::fCanonicalValue |
|
protected |
◆ fDefaultValue
const XMLCh* PSVIItem::fDefaultValue |
|
protected |
◆ fIsSpecified
bool PSVIItem::fIsSpecified |
|
protected |
◆ fMemberType
◆ fMemoryManager
◆ fNormalizedValue
const XMLCh* PSVIItem::fNormalizedValue |
|
protected |
◆ fType
◆ fValidationContext
const XMLCh* PSVIItem::fValidationContext |
|
protected |
◆ fValidityState
The documentation for this class was generated from the following file: