| API Docs for SAX and DOM |
| Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages # XSAttributeGroupDefinition.hpp Go to the documentation of this file.
    00001 /*
    00002  * Copyright 2003,2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 /*
    00018  * $Id: XSAttributeGroupDefinition.hpp 191054 2005-06-17 02:56:35Z jberry $
    00019  */
    00020
    00021 #if !defined(XSATTRIBUTEGROUPDEFINITION_HPP)
    00022 #define XSATTRIBUTEGROUPDEFINITION_HPP
    00023
    00024 #include <xercesc/framework/psvi/XSObject.hpp>
    00025
    00026 XERCES_CPP_NAMESPACE_BEGIN
    00027
    00035 // forward declarations
    00036 class XSAnnotation;
    00037 class XSAttributeUse;
    00038 class XSWildcard;
    00039 class XercesAttGroupInfo;
    00040
    00041 class  XSAttributeGroupDefinition : public XSObject
    00042 {
    00043 public:
    00044
    00045     //  Constructors and Destructor
    00046     // -----------------------------------------------------------------------
    00049
    00060     XSAttributeGroupDefinition
    00061     (
    00062         XercesAttGroupInfo* const   xercesAttGroupInfo
    00063         , XSAttributeUseList* const xsAttList
    00064         , XSWildcard* const         xsWildcard
    00065         , XSAnnotation* const       xsAnnot
    00066         , XSModel* const            xsModel
    00067         , MemoryManager* const      manager = XMLPlatformUtils::fgMemoryManager
    00068     );
    00069
    00071
    00074     ~XSAttributeGroupDefinition();
    00076
    00077     //---------------------
    00080
    00085     const XMLCh* getName();
    00086
    00091     const XMLCh* getNamespace();
    00092
    00098     XSNamespaceItem* getNamespaceItem();
    00099
    00101
    00102     //---------------------
    00106
    00110     XSAttributeUseList *getAttributeUses();
    00111
    00115     XSWildcard *getAttributeWildcard() const;
    00116
    00120     XSAnnotation *getAnnotation() const;
    00121
    00123
    00124     //----------------------------------
    00128
    00130 private:
    00131
    00132     // -----------------------------------------------------------------------
    00133     //  Unimplemented constructors and operators
    00134     // -----------------------------------------------------------------------
    00135     XSAttributeGroupDefinition(const XSAttributeGroupDefinition&);
    00136     XSAttributeGroupDefinition & operator=(const XSAttributeGroupDefinition &);
    00137
    00138 protected:
    00139
    00140     // -----------------------------------------------------------------------
    00141     //  data members
    00142     // -----------------------------------------------------------------------
    00143     XercesAttGroupInfo*     fXercesAttGroupInfo;
    00144     XSAttributeUseList*     fXSAttributeUseList;
    00145     XSWildcard*             fXSWildcard;
    00146     XSAnnotation*           fAnnotation;
    00147 };
    00148
    00149 inline XSAttributeUseList* XSAttributeGroupDefinition::getAttributeUses()
    00150 {
    00151     return fXSAttributeUseList;
    00152 }
    00153
    00154 inline XSWildcard* XSAttributeGroupDefinition::getAttributeWildcard() const
    00155 {
    00156     return fXSWildcard;
    00157 }
    00158
    00159 inline XSAnnotation* XSAttributeGroupDefinition::getAnnotation() const
    00160 {
    00161     return fAnnotation;
    00162 }
    00163
    00164 XERCES_CPP_NAMESPACE_END
    00165
    00166 #endif

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