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
 

XSMultiValueFacet Class Reference

This class represents all Schema Facets which may possess multiple lexical values/annotations (i.e., Pattern and Enumeration facets). More...

Inheritance diagram for XSMultiValueFacet:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructors
 XSMultiValueFacet (XSSimpleTypeDefinition::FACET facetKind, StringList *lexicalValues, bool isFixed, XSAnnotation *const headAnnot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 The default constructor.
Destructor
 ~XSMultiValueFacet ()
XSMultiValueFacet methods
XSSimpleTypeDefinition::FACET getFacetKind () const
StringListgetLexicalFacetValues ()
bool isFixed () const
 Check whether a facet value is fixed.
XSAnnotationListgetAnnotations ()

Protected Attributes

XSSimpleTypeDefinition::FACET fFacetKind
bool fIsFixed
StringListfLexicalValues
XSAnnotationListfXSAnnotationList

Detailed Description

This class represents all Schema Facets which may possess multiple lexical values/annotations (i.e., Pattern and Enumeration facets).

This is *always* owned by the validator /parser object from which it is obtained.


Constructor & Destructor Documentation

XSMultiValueFacet::XSMultiValueFacet XSSimpleTypeDefinition::FACET  facetKind,
StringList lexicalValues,
bool  isFixed,
XSAnnotation *const   headAnnot,
XSModel *const   xsModel,
MemoryManager *const   manager = XMLPlatformUtils::fgMemoryManager
 

The default constructor.

Parameters:
facetKind 
lexicalValues 
isFixed 
headAnnot 
xsModel 
manager The configurable memory manager

XSMultiValueFacet::~XSMultiValueFacet  ) 
 


Member Function Documentation

XSAnnotationList * XSMultiValueFacet::getAnnotations  ) 
 

Returns:
the annotations belonging to this facet's values

XSSimpleTypeDefinition::FACET XSMultiValueFacet::getFacetKind  )  const
 

Returns:
An indication as to the facet's type; see XSSimpleTypeDefinition::FACET

StringList * XSMultiValueFacet::getLexicalFacetValues  ) 
 

Returns:
Returns the values of a constraining facet.

bool XSMultiValueFacet::isFixed  )  const
 

Check whether a facet value is fixed.


Member Data Documentation

XSSimpleTypeDefinition::FACET XSMultiValueFacet::fFacetKind [protected]
 

bool XSMultiValueFacet::fIsFixed [protected]
 

StringList* XSMultiValueFacet::fLexicalValues [protected]
 

XSAnnotationList* XSMultiValueFacet::fXSAnnotationList [protected]
 


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


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