Go to the documentation of this file.
   22 #if !defined(XERCESC_INCLUDE_GUARD_XSSIMPLETYPEDEFINITION_HPP) 
   23 #define XERCESC_INCLUDE_GUARD_XSSIMPLETYPEDEFINITION_HPP 
   41 class DatatypeValidator;
 
   92         FACET_WHITESPACE          = 16,
 
   96         FACET_MAXINCLUSIVE        = 32,
 
  100         FACET_MAXEXCLUSIVE        = 64,
 
  104         FACET_MINEXCLUSIVE        = 128,
 
  108         FACET_MININCLUSIVE        = 256,
 
  112         FACET_TOTALDIGITS         = 512,
 
  116         FACET_FRACTIONDIGITS      = 1024,
 
  120         FACET_ENUMERATION         = 2048
 
  159         DatatypeValidator* 
const            datatypeValidator
 
  184     VARIETY getVariety() 
const;
 
  211     int getDefinedFacets() 
const;
 
  219     bool isDefinedFacet(FACET facetName);
 
  224     int getFixedFacets() 
const;
 
  232     bool isFixedFacet(FACET facetName);
 
  245     const XMLCh *getLexicalFacetValue(FACET facetName);
 
  260     ORDERING getOrdered() 
const;
 
  265     bool getFinite() 
const;
 
  270     bool getBounded() 
const;
 
  275     bool getNumeric() 
const;
 
  336     inline DatatypeValidator* getDatatypeValidator() 
const;
 
  369     friend class XSObjectFactory;
 
  450 inline DatatypeValidator* 
 
  
XSFacetList * getFacets()
Definition: XSSimpleTypeDefinition.hpp:429
int getFixedFacets() const
[facets]: get all facets defined and fixed on this type.
Definition: XSSimpleTypeDefinition.hpp:419
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
virtual const XMLCh * getName() const =0
The name of type NCName of this declaration as defined in XML Namespaces.
VARIETY fVariety
Definition: XSSimpleTypeDefinition.hpp:378
VARIETY getVariety() const
[variety]: one of {atomic, list, union} or absent
Definition: XSSimpleTypeDefinition.hpp:388
XSSimpleTypeDefinitionList * fMemberTypes
Definition: XSSimpleTypeDefinition.hpp:384
Definition: XSNamespaceItem.hpp:53
XSMultiValueFacetList * fXSMultiValueFacetList
Definition: XSSimpleTypeDefinition.hpp:381
DatatypeValidator * getDatatypeValidator() const
Definition: XSSimpleTypeDefinition.hpp:451
Definition: XSMultiValueFacet.hpp:40
int fFixedFacets
Definition: XSSimpleTypeDefinition.hpp:377
XSAnnotationList * getAnnotations()
Optional.
Definition: XSSimpleTypeDefinition.hpp:439
StringList * fPatternList
Definition: XSSimpleTypeDefinition.hpp:382
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
virtual bool getAnonymous() const =0
A boolean that specifies if the type definition is anonymous.
Definition: XSFacet.hpp:40
Definition: XSModel.hpp:59
RefVectorOf< XSMultiValueFacet > XSMultiValueFacetList
Definition: XSConstants.hpp:50
DatatypeValidator * fDatatypeValidator
Definition: XSSimpleTypeDefinition.hpp:379
FACET
Definition: XSSimpleTypeDefinition.hpp:68
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
Definition: XSAnnotation.hpp:41
ORDERING
Definition: XSSimpleTypeDefinition.hpp:124
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:39
virtual bool derivedFromType(const XSTypeDefinition *const ancestorType)=0
Convenience method: check if this type is derived from the given ancestorType.
VARIETY
Definition: XSSimpleTypeDefinition.hpp:48
@ VARIETY_LIST
List type.
Definition: XSSimpleTypeDefinition.hpp:60
virtual const XMLCh * getNamespace() const =0
The [target namespace] of this object, or null if it is unspecified.
XSSimpleTypeDefinition * getPrimitiveType()
If variety is atomic the primitive type definition (a built-in primitive datatype definition or the s...
Definition: XSSimpleTypeDefinition.hpp:393
RefArrayVectorOf< XMLCh > StringList
Definition: XSConstants.hpp:54
virtual XSTypeDefinition * getBaseType()=0
{base type definition}: either a simple type definition or a complex type definition.
int getDefinedFacets() const
[facets]: get all facets defined on this type.
Definition: XSSimpleTypeDefinition.hpp:414
StringList * getLexicalPattern()
Returns a list of pattern values.
Definition: XSSimpleTypeDefinition.hpp:424
XSMultiValueFacetList * getMultiValueFacets()
Definition: XSSimpleTypeDefinition.hpp:434
virtual XSNamespaceItem * getNamespaceItem()=0
A namespace schema information item corresponding to the target namespace of the component,...
XSSimpleTypeDefinitionList * getMemberTypes() const
If variety is union the list of member type definitions (a non-empty sequence of simple type definiti...
Definition: XSSimpleTypeDefinition.hpp:409
RefVectorOf< XSAnnotation > XSAnnotationList
Definition: XSConstants.hpp:41
Configurable memory manager.
Definition: MemoryManager.hpp:39
int fDefinedFacets
Definition: XSSimpleTypeDefinition.hpp:376
XSSimpleTypeDefinition * fPrimitiveOrItemType
Definition: XSSimpleTypeDefinition.hpp:383
XSAnnotationList * fXSAnnotationList
Definition: XSSimpleTypeDefinition.hpp:385
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
RefVectorOf< XSFacet > XSFacetList
Definition: XSConstants.hpp:49
@ VARIETY_ATOMIC
Atomic type.
Definition: XSSimpleTypeDefinition.hpp:56
RefVectorOf< XSSimpleTypeDefinition > XSSimpleTypeDefinitionList
Definition: XSConstants.hpp:53
Definition: XSSimpleTypeDefinition.hpp:43
XSSimpleTypeDefinition * getItemType()
If variety is list the item type definition (an atomic or union simple type definition) is available,...
Definition: XSSimpleTypeDefinition.hpp:401
XSFacetList * fXSFacetList
Definition: XSSimpleTypeDefinition.hpp:380