22#if !defined(XERCESC_INCLUDE_GUARD_XSMODEL_HPP)
23#define XERCESC_INCLUDE_GUARD_XSMODEL_HPP
29#include <xercesc/util/ValueVectorOf.hpp>
30#include <xercesc/validators/schema/SchemaElementDecl.hpp>
86 , GrammarResolver *grammarResolver
144 const XMLCh *compNamespace);
159 ,
const XMLCh *compNamespace);
169 ,
const XMLCh *compNamespace);
180 ,
const XMLCh *compNamespace);
190 ,
const XMLCh *compNamespace);
200 ,
const XMLCh *compNamespace);
210 ,
const XMLCh *compNamespace);
249 void addGrammarToXSModel
256 , RefHashTableOf<DatatypeValidator>*
const builtInDV
258 void addComponentToNamespace
263 ,
bool addToXSModel =
true
266 void addComponentToIdVector
RefVectorOf< XSNamespaceItem > XSNamespaceItemList
Definition XSConstants.hpp:51
RefVectorOf< XSAnnotation > XSAnnotationList
Definition XSConstants.hpp:47
RefArrayVectorOf< XMLCh > StringList
Definition XSConstants.hpp:54
#define XMLPARSER_EXPORT
Definition XercesDefs.hpp:163
#define XERCES_CPP_NAMESPACE_BEGIN
Definition XercesDefs.hpp:112
#define XERCES_CPP_NAMESPACE_END
Definition XercesDefs.hpp:113
size_t XMLSize_t
Definition Xerces_autoconf_config.hpp:112
char16_t XMLCh
Definition Xerces_autoconf_config.hpp:120
Configurable memory manager.
Definition MemoryManager.hpp:40
Definition XMLGrammarPool.hpp:44
XMemory()
Protected default constructor.
Definition XMemory.hpp:130
Definition XSAnnotation.hpp:42
Definition XSAttributeDeclaration.hpp:43
Definition XSAttributeGroupDefinition.hpp:43
COMPONENT_TYPE
Definition XSConstants.hpp:61
@ MULTIVALUE_FACET
The object describes enumeration/pattern facets.
Definition XSConstants.hpp:118
Definition XSElementDeclaration.hpp:45
Definition XSModelGroupDefinition.hpp:43
XSAttributeGroupDefinition * getAttributeGroup(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
friend class XSObjectFactory
Definition XSModel.hpp:279
XSNamespaceItemList * getNamespaceItems()
A set of namespace schema information information items ( of type XSNamespaceItem),...
Definition XSModel.hpp:331
XSAnnotationList * getAnnotations()
[annotations]: a set of annotations.
RefVectorOf< XSNamespaceItem > * fDeleteNamespace
Definition XSModel.hpp:315
XSModelGroupDefinition * getModelGroupDefinition(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSAttributeDeclaration * getAttributeDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSAnnotationList * fXSAnnotationList
Definition XSModel.hpp:312
XSObject * getXSObject(void *key)
Get the XSObject (i.e.
XSObject * getXSObjectById(XMLSize_t compId, XSConstants::COMPONENT_TYPE compType)
Optional.
RefVectorOf< XSObject > * fIdVector[XSConstants::MULTIVALUE_FACET]
Definition XSModel.hpp:292
XSNamedMap< XSObject > * getComponents(XSConstants::COMPONENT_TYPE objectType)
[schema components]: a list of top-level components, i.e.
XSModel * fParent
Definition XSModel.hpp:316
XMLStringPool * fURIStringPool
Definition XSModel.hpp:311
XSNamespaceItemList * fXSNamespaceItemList
Definition XSModel.hpp:290
StringList * getNamespaces()
Convenience method.
Definition XSModel.hpp:326
XSNotationDeclaration * getNotationDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
bool fAddedS4SGrammar
Definition XSModel.hpp:318
XSElementDeclaration * getElementDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSNamedMap< XSObject > * getComponentsByNamespace(XSConstants::COMPONENT_TYPE objectType, const XMLCh *compNamespace)
Convenience method.
XSNamespaceItem * getNamespaceItem(const XMLCh *const key)
XSNamedMap< XSObject > * fComponentMap[XSConstants::MULTIVALUE_FACET]
Definition XSModel.hpp:310
XSModel(XMLGrammarPool *grammarPool, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The constructor to be used when a grammar pool contains all needed info.
bool fDeleteParent
Definition XSModel.hpp:317
StringList * fNamespaceStringList
Definition XSModel.hpp:289
XSTypeDefinition * getTypeDefinition(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XMLStringPool * getURIStringPool()
methods needed by implementation
Definition XSModel.hpp:321
friend class XSObject
Definition XSModel.hpp:280
MemoryManager *const fMemoryManager
Definition XSModel.hpp:287
XSModel(XSModel *baseModel, GrammarResolver *grammarResolver, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The constructor to be used when the XSModel must represent all components in the union of an existing...
XSObjectFactory * fObjFactory
Definition XSModel.hpp:314
RefHashTableOf< XSNamespaceItem > * fHashNamespace
Definition XSModel.hpp:313
Definition XSNamedMap.hpp:41
Definition XSNamespaceItem.hpp:54
Definition XSNotationDeclaration.hpp:41
This class represents a complexType or simpleType definition.
Definition XSTypeDefinition.hpp:40