Xerces-C++
3.1.2
|
Public Member Functions | |
Constructors | |
PSVIAttribute (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
The default constructor. More... | |
Destructor | |
~PSVIAttribute () | |
PSVIAttribute methods | |
XSAttributeDeclaration * | getAttributeDeclaration () |
An item isomorphic to the attribute declaration used to validate this attribute. More... | |
XSTypeDefinition * | getTypeDefinition () |
An item isomorphic to the type definition used to validate this element. More... | |
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. More... | |
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) |
methods needed by implementation More... | |
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. More... | |
void | updateValidity (VALIDITY_STATE newValue) |
set VALIDITY_STATE to specified value; intended to be called by implementation. More... | |
Public Member Functions inherited from PSVIItem | |
virtual XSValue * | getActualValue () const |
Get actual value in the form of XSValue, caller needs to delete the object returned. More... | |
PSVIItem (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
The default constructor. More... | |
virtual | ~PSVIItem () |
const XMLCh * | getValidationContext () |
[validation context] More... | |
VALIDITY_STATE | getValidity () const |
Determine the validity of the node with respect to the validation being attempted. More... | |
ASSESSMENT_TYPE | getValidationAttempted () const |
Determines the extent to which the item has been validated. More... | |
const XMLCh * | getSchemaNormalizedValue () |
A list of error codes generated from validation attempts. More... | |
const XMLCh * | getSchemaDefault () |
[schema default] More... | |
bool | getIsSchemaSpecified () const |
[schema specified] More... | |
const XMLCh * | getCanonicalRepresentation () const |
Return the canonical representation of this value. More... | |
void | setValidationAttempted (PSVIItem::ASSESSMENT_TYPE attemptType) |
methods needed by implementation More... | |
void | setValidity (PSVIItem::VALIDITY_STATE validity) |
void | reset (const XMLCh *const validationContext, const XMLCh *const normalizedValue, const VALIDITY_STATE validityState, const ASSESSMENT_TYPE assessmentType) |
reset the object More... | |
Public Member Functions inherited from XMemory | |
void * | operator new (size_t size) |
This method overrides operator new. More... | |
void * | operator new (size_t size, MemoryManager *memMgr) |
This method defines a custom operator new, that will use the provided memory manager to perform the allocation. More... | |
void * | operator new (size_t size, void *ptr) |
This method overrides placement operator new. More... | |
void | operator delete (void *p) |
This method overrides operator delete. More... | |
void | operator delete (void *p, MemoryManager *memMgr) |
This method provides a matching delete for the custom operator new. More... | |
void | operator delete (void *p, void *ptr) |
This method provides a matching delete for the placement new. More... | |
Additional Inherited Members | |
Public Types inherited from PSVIItem | |
enum | VALIDITY_STATE { VALIDITY_NOTKNOWN = 0, VALIDITY_INVALID = 1, VALIDITY_VALID = 2 } |
enum | ASSESSMENT_TYPE { VALIDATION_NONE = 0, VALIDATION_PARTIAL = 1, VALIDATION_FULL = 2 } |
Protected Member Functions inherited from XMemory | |
XMemory () | |
Protected default constructor. More... | |
Protected Attributes inherited from PSVIItem | |
MemoryManager *const | fMemoryManager |
const XMLCh * | fValidationContext |
const XMLCh * | fNormalizedValue |
const XMLCh * | fDefaultValue |
XMLCh * | fCanonicalValue |
VALIDITY_STATE | fValidityState |
ASSESSMENT_TYPE | fAssessmentType |
bool | fIsSpecified |
XSTypeDefinition * | fType |
XSSimpleTypeDefinition * | fMemberType |
PSVIAttribute::PSVIAttribute | ( | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | ) |
The default constructor.
manager | The configurable memory manager |
PSVIAttribute::~PSVIAttribute | ( | ) |
References MemoryManager::deallocate(), PSVIItem::fCanonicalValue, and PSVIItem::fMemoryManager.
XSAttributeDeclaration * PSVIAttribute::getAttributeDeclaration | ( | ) |
An item isomorphic to the attribute declaration used to validate this attribute.
|
virtual |
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.
Implements PSVIItem.
References PSVIItem::fMemberType.
|
virtual |
An item isomorphic to the type definition used to validate this element.
Implements PSVIItem.
References PSVIItem::fType.
void PSVIAttribute::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 | ||
) |
methods needed by implementation
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.
void PSVIAttribute::updateValidity | ( | VALIDITY_STATE | newValue | ) |
set VALIDITY_STATE to specified value; intended to be called by implementation.
References PSVIItem::fValidityState.