Go to the documentation of this file.
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>
57 class XSObjectFactory;
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);
230 XMLStringPool* getURIStringPool();
249 void addGrammarToXSModel
256 , RefHashTableOf<DatatypeValidator>*
const builtInDV
258 void addComponentToNamespace
263 ,
bool addToXSModel =
true
266 void addComponentToIdVector
279 friend class XSObjectFactory;
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:41
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
bool fAddedS4SGrammar
Definition: XSModel.hpp:318
Definition: XSModelGroupDefinition.hpp:43
char16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
Definition: XSAttributeDeclaration.hpp:43
Definition: XSNamespaceItem.hpp:54
Definition: XSObject.hpp:43
XSAnnotationList * fXSAnnotationList
Definition: XSModel.hpp:312
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
XSAnnotationList * getAnnotations()
[annotations]: a set of annotations.
Definition: XSModel.hpp:60
RefHashTableOf< XSNamespaceItem > * fHashNamespace
Definition: XSModel.hpp:313
XSNamespaceItemList * fXSNamespaceItemList
Definition: XSModel.hpp:290
XSNamedMap< XSObject > * getComponents(XSConstants::COMPONENT_TYPE objectType)
[schema components]: a list of top-level components, i.e.
Definition: XMLGrammarPool.hpp:44
Definition: XSAnnotation.hpp:42
XSObject * getXSObject(void *key)
Get the XSObject (i.e.
This class represents a complexType or simpleType definition.
Definition: XSTypeDefinition.hpp:40
size_t XMLSize_t
Definition: Xerces_autoconf_config.hpp:112
XSNamespaceItemList * getNamespaceItems()
A set of namespace schema information information items ( of type XSNamespaceItem),...
Definition: XSModel.hpp:331
RefVectorOf< XSNamespaceItem > XSNamespaceItemList
Definition: XSConstants.hpp:51
XSModel(XMLGrammarPool *grammarPool, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager)
The constructor to be used when a grammar pool contains all needed info.
Definition: XSNotationDeclaration.hpp:41
XSNamespaceItem * getNamespaceItem(const XMLCh *const key)
XSModel * fParent
Definition: XSModel.hpp:316
RefArrayVectorOf< XMLCh > StringList
Definition: XSConstants.hpp:54
XSElementDeclaration * getElementDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
MemoryManager *const fMemoryManager
Definition: XSModel.hpp:287
XSNamedMap< XSObject > * getComponentsByNamespace(XSConstants::COMPONENT_TYPE objectType, const XMLCh *compNamespace)
Convenience method.
XSTypeDefinition * getTypeDefinition(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSAttributeGroupDefinition * getAttributeGroup(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
Definition: XSAttributeGroupDefinition.hpp:43
COMPONENT_TYPE
Definition: XSConstants.hpp:61
RefVectorOf< XSAnnotation > XSAnnotationList
Definition: XSConstants.hpp:41
Definition: XSElementDeclaration.hpp:45
RefVectorOf< XSNamespaceItem > * fDeleteNamespace
Definition: XSModel.hpp:315
Configurable memory manager.
Definition: MemoryManager.hpp:40
XMLStringPool * getURIStringPool()
methods needed by implementation
Definition: XSModel.hpp:321
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
XSModelGroupDefinition * getModelGroupDefinition(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSObjectFactory * fObjFactory
Definition: XSModel.hpp:314
StringList * fNamespaceStringList
Definition: XSModel.hpp:289
XSObject * getXSObjectById(XMLSize_t compId, XSConstants::COMPONENT_TYPE compType)
Optional.
bool fDeleteParent
Definition: XSModel.hpp:317
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...
XMLStringPool * fURIStringPool
Definition: XSModel.hpp:311
@ MULTIVALUE_FACET
The object describes enumeration/pattern facets.
Definition: XSConstants.hpp:118
XSAttributeDeclaration * getAttributeDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
XSNotationDeclaration * getNotationDeclaration(const XMLCh *name, const XMLCh *compNamespace)
Convenience method.
StringList * getNamespaces()
Convenience method.
Definition: XSModel.hpp:326