http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Charter
Release Info

Installation
Download
Build Instructions

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

Source Repository
User Mail Archive
Devel Mail Archive

API Docs for SAX and DOM
 

PSVIAttribute Class Reference

Represent the PSVI contributions for one attribute information item. More...

Inheritance diagram for PSVIAttribute:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructors
 PSVIAttribute (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 The default constructor.
Destructor
 ~PSVIAttribute ()
PSVIAttribute methods
XSAttributeDeclarationgetAttributeDeclaration ()
 An item isomorphic to the attribute declaration used to validate this attribute.
XSTypeDefinitiongetTypeDefinition ()
 An item isomorphic to the type definition used to validate this element.
XSSimpleTypeDefinitiongetMemberTypeDefinition ()
 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

PSVIAttribute::PSVIAttribute MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager  ) 
 

The default constructor.

Parameters:
manager The configurable memory manager

PSVIAttribute::~PSVIAttribute  ) 
 


Member Function Documentation

XSAttributeDeclaration * PSVIAttribute::getAttributeDeclaration  ) 
 

An item isomorphic to the attribute declaration used to validate this attribute.

Returns:
an attribute declaration

XSSimpleTypeDefinition * PSVIAttribute::getMemberTypeDefinition  )  [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.

Returns:
a simple type declaration

Implements PSVIItem.

XSTypeDefinition * PSVIAttribute::getTypeDefinition  )  [virtual]
 

An item isomorphic to the type definition used to validate this element.

Returns:
a type declaration

Implements PSVIItem.

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
 

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.


The documentation for this class was generated from the following file:


Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.