XSAttributeGroupDefinition.hpp
Go to the documentation of this file.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/*
* $Id: XSAttributeGroupDefinition.hpp 1804272 2017-08-06 20:25:24Z scantor $
*/
#if !defined(XERCESC_INCLUDE_GUARD_XSATTRIBUTEGROUPDEFINITION_HPP)
#define XERCESC_INCLUDE_GUARD_XSATTRIBUTEGROUPDEFINITION_HPP
#include <xercesc/framework/psvi/XSObject.hpp>
XERCES_CPP_NAMESPACE_BEGIN
// forward declarations
class XSAnnotation;
class XSAttributeUse;
class XSWildcard;
class XercesAttGroupInfo;
class XMLPARSER_EXPORT XSAttributeGroupDefinition : public XSObject
{
public:
// Constructors and Destructor
// -----------------------------------------------------------------------
XSAttributeGroupDefinition
(
XercesAttGroupInfo* const xercesAttGroupInfo
, XSAttributeUseList* const xsAttList
, XSWildcard* const xsWildcard
, XSAnnotation* const xsAnnot
, XSModel* const xsModel
, MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
);
~XSAttributeGroupDefinition();
//---------------------
const XMLCh* getName() const;
const XMLCh* getNamespace() const;
XSNamespaceItem* getNamespaceItem();
//---------------------
XSAttributeUseList *getAttributeUses();
XSWildcard *getAttributeWildcard() const;
XSAnnotation *getAnnotation() const;
//----------------------------------
private:
// -----------------------------------------------------------------------
// Unimplemented constructors and operators
// -----------------------------------------------------------------------
XSAttributeGroupDefinition(const XSAttributeGroupDefinition&);
XSAttributeGroupDefinition & operator=(const XSAttributeGroupDefinition &);
protected:
// -----------------------------------------------------------------------
// data members
// -----------------------------------------------------------------------
XercesAttGroupInfo* fXercesAttGroupInfo;
XSAttributeUseList* fXSAttributeUseList;
XSWildcard* fXSWildcard;
XSAnnotation* fAnnotation;
};
inline XSAttributeUseList* XSAttributeGroupDefinition::getAttributeUses()
{
return fXSAttributeUseList;
}
inline XSWildcard* XSAttributeGroupDefinition::getAttributeWildcard() const
{
return fXSWildcard;
}
inline XSAnnotation* XSAttributeGroupDefinition::getAnnotation() const
{
return fAnnotation;
}
XERCES_CPP_NAMESPACE_END
#endif
XSAttributeGroupDefinition::getAttributeUses
XSAttributeUseList * getAttributeUses()
A set of [attribute uses].
Definition: XSAttributeGroupDefinition.hpp:150
XSAttributeGroupDefinition::getAttributeWildcard
XSWildcard * getAttributeWildcard() const
Optional.
Definition: XSAttributeGroupDefinition.hpp:155
XSAttributeUse
Definition: XSAttributeUse.hpp:39
XMLPlatformUtils::fgMemoryManager
static MemoryManager * fgMemoryManager
The configurable memory manager.
Definition: PlatformUtils.hpp:121
XSWildcard
Definition: XSWildcard.hpp:41
XSObject::getName
virtual const XMLCh * getName() const
The name of type NCName of this declaration as defined in XML Namespaces.
XSAttributeGroupDefinition
Definition: XSAttributeGroupDefinition.hpp:42
XSObject::getNamespaceItem
virtual XSNamespaceItem * getNamespaceItem()
A namespace schema information item corresponding to the target namespace of the component, if it&#39;s globally declared; or null otherwise.
XSAttributeGroupDefinition::fXSAttributeUseList
XSAttributeUseList * fXSAttributeUseList
Definition: XSAttributeGroupDefinition.hpp:145
XSNamespaceItem
Definition: XSNamespaceItem.hpp:53
XMLPARSER_EXPORT
#define XMLPARSER_EXPORT
Definition: XercesDefs.hpp:163
XSModel
Definition: XSModel.hpp:59
XSAttributeUseList
RefVectorOf< XSAttributeUse > XSAttributeUseList
Definition: XSConstants.hpp:48
XSAnnotation
Definition: XSAnnotation.hpp:41
MemoryManager
Configurable memory manager.
Definition: MemoryManager.hpp:39
XSObject::getNamespace
virtual const XMLCh * getNamespace() const
The [target namespace] of this object, or null if it is unspecified.
XMLCh
uint16_t XMLCh
Definition: Xerces_autoconf_config.hpp:120
XSAttributeGroupDefinition::fXercesAttGroupInfo
XercesAttGroupInfo * fXercesAttGroupInfo
Definition: XSAttributeGroupDefinition.hpp:144
XERCES_CPP_NAMESPACE_BEGIN
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
XSObject
Definition: XSObject.hpp:42
XSAttributeGroupDefinition::getAnnotation
XSAnnotation * getAnnotation() const
Optional.
Definition: XSAttributeGroupDefinition.hpp:160
XERCES_CPP_NAMESPACE_END
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
XSAttributeGroupDefinition::fXSWildcard
XSWildcard * fXSWildcard
Definition: XSAttributeGroupDefinition.hpp:146
XSObject.hpp
XSAttributeGroupDefinition::fAnnotation
XSAnnotation * fAnnotation
Definition: XSAttributeGroupDefinition.hpp:147