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
 

PSVIElement Class Reference

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

Inheritance diagram for PSVIElement:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructors
 PSVIElement (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 The default constructor.
Destructor
 ~PSVIElement ()
PSVIElement methods
XSElementDeclarationgetElementDeclaration ()
 An item isomorphic to the element declaration used to validate this element.
XSNotationDeclarationgetNotationDeclaration ()
 [notation]
XSModelgetSchemaInformation ()
 [schema information]
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 type 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 VALIDITY_STATE validityState, const ASSESSMENT_TYPE assessmentType, const XMLCh *const validationContext, bool isSpecified, XSElementDeclaration *const elemDecl, XSTypeDefinition *const typeDef, XSSimpleTypeDefinition *const memberType, XSModel *const schemaInfo, const XMLCh *const defaultValue, const XMLCh *const normalizedValue=0, XMLCh *const canonicalValue=0, XSNotationDeclaration *const notationDecl=0)

Detailed Description

Represent the PSVI contributions for one element 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

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

The default constructor.

Parameters:
manager The configurable memory manager

PSVIElement::~PSVIElement  ) 
 


Member Function Documentation

XSElementDeclaration * PSVIElement::getElementDeclaration  ) 
 

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

Returns:
an element declaration

XSSimpleTypeDefinition* PSVIElement::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 type 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.

XSNotationDeclaration * PSVIElement::getNotationDeclaration  ) 
 

[notation]

See also:
XML Schema Part 1: Structures [notation]
Returns:
The notation declaration.

XSModel * PSVIElement::getSchemaInformation  ) 
 

[schema information]

See also:
XML Schema Part 1: Structures [schema information]
Returns:
The schema information property if it's the validation root, null otherwise.

XSTypeDefinition* PSVIElement::getTypeDefinition  )  [virtual]
 

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

Returns:
a type declaration

Implements PSVIItem.

void PSVIElement::reset const VALIDITY_STATE  validityState,
const ASSESSMENT_TYPE  assessmentType,
const XMLCh *const   validationContext,
bool  isSpecified,
XSElementDeclaration *const   elemDecl,
XSTypeDefinition *const   typeDef,
XSSimpleTypeDefinition *const   memberType,
XSModel *const   schemaInfo,
const XMLCh *const   defaultValue,
const XMLCh *const   normalizedValue = 0,
XMLCh *const   canonicalValue = 0,
XSNotationDeclaration *const   notationDecl = 0
 


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


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