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

Home

Readme
Release Info

Installation
Download
Build

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

CVS Repository
Mail Archive

API Docs for SAX and DOM
 

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XSWildcard Class Reference

Inheritance diagram for XSWildcard:

Inheritance graph
[legend]
Collaboration diagram for XSWildcard:

Collaboration graph
[legend]
List of all members.

Public Types

enum  NAMESPACE_CONSTRAINT { NSCONSTRAINT_ANY = 1, NSCONSTRAINT_NOT = 2, NSCONSTRAINT_DERIVATION_LIST = 3 }
enum  PROCESS_CONTENTS { PC_STRICT = 1, PC_SKIP = 2, PC_LAX = 3 }

Public Methods

Constructors
 XSWildcard (SchemaAttDef *const attWildCard, XSAnnotation *const annot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
 The default constructor. More...

 XSWildcard (const ContentSpecNode *const elmWildCard, XSAnnotation *const annot, XSModel *const xsModel, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
Destructor
 ~XSWildcard ()
XSWildcard methods
NAMESPACE_CONSTRAINT getConstraintType () const
 Namespace constraint: A constraint type: any, not, list. More...

StringListgetNsConstraintList ()
 Namespace constraint. More...

PROCESS_CONTENTS getProcessContents () const
 [process contents]: one of skip, lax or strict. More...

XSAnnotationgetAnnotation () const
 Optional. More...


Protected Attributes

NAMESPACE_CONSTRAINT fConstraintType
PROCESS_CONTENTS fProcessContents
StringListfNsConstraintList
XSAnnotationfAnnotation

Member Enumeration Documentation

enum XSWildcard::NAMESPACE_CONSTRAINT
 

Enumeration values:
NSCONSTRAINT_ANY  Namespace Constraint: any namespace is allowed.
NSCONSTRAINT_NOT  Namespace Constraint: namespaces in the list are not allowed.
NSCONSTRAINT_DERIVATION_LIST  Namespace Constraint: namespaces in the list are allowed.

enum XSWildcard::PROCESS_CONTENTS
 

Enumeration values:
PC_STRICT  There must be a top-level declaration for the item available, or the item must have an xsi:type, and the item must be valid as appropriate.
PC_SKIP  No constraints at all: the item must simply be well-formed XML.
PC_LAX  If the item, or any items among its [children] is an element information item, has a uniquely determined declaration available, it must be valid with respect to that definition, that is, validate where you can, don't worry when you can't.


Constructor & Destructor Documentation

XSWildcard::XSWildcard SchemaAttDef *const    attWildCard,
XSAnnotation *const    annot,
XSModel *const    xsModel,
MemoryManager *const    manager = XMLPlatformUtils::fgMemoryManager
 

The default constructor.

Parameters:
attWildCard 
annot 
xsModel 
manager  The configurable memory manager

XSWildcard::XSWildcard const ContentSpecNode *const    elmWildCard,
XSAnnotation *const    annot,
XSModel *const    xsModel,
MemoryManager *const    manager = XMLPlatformUtils::fgMemoryManager
 

XSWildcard::~XSWildcard  
 


Member Function Documentation

XSAnnotation * XSWildcard::getAnnotation   const
 

Optional.

An [annotation].

XSWildcard::NAMESPACE_CONSTRAINT XSWildcard::getConstraintType   const
 

Namespace constraint: A constraint type: any, not, list.

StringList * XSWildcard::getNsConstraintList  
 

Namespace constraint.

For constraintType NSCONSTRAINT_DERIVATION_LIST, the list contains allowed namespaces. For constraintType NSCONSTRAINT_NOT, the list contains disallowed namespaces.

XSWildcard::PROCESS_CONTENTS XSWildcard::getProcessContents   const
 

[process contents]: one of skip, lax or strict.

Valid constants values are: PC_SKIP, PC_LAX, PC_STRICT.


Member Data Documentation

XSAnnotation* XSWildcard::fAnnotation [protected]
 

NAMESPACE_CONSTRAINT XSWildcard::fConstraintType [protected]
 

StringList* XSWildcard::fNsConstraintList [protected]
 

PROCESS_CONTENTS XSWildcard::fProcessContents [protected]
 


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


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