http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Charter
Release Info

Installation
Download
Build Instructions

FAQs
Samples
API Docs

DOM C++ Binding
Programming
Migration Guide

Feedback
Bug-Reporting
PDF Document

Source Repository
User Mail Archive
Devel Mail Archive

API Docs for SAX and DOM
 

DOMPSVITypeInfo.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 2001-2002,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 #if !defined(DOMPSVITYPEINFO_HPP)
00018 #define DOMPSVITYPEINFO_HPP
00019 
00020 //------------------------------------------------------------------------------------
00021 //  Includes
00022 //------------------------------------------------------------------------------------
00023 #include <xercesc/util/XMLString.hpp>
00024 
00025 
00026 XERCES_CPP_NAMESPACE_BEGIN
00027 
00033 class  DOMPSVITypeInfo
00034 {
00035 protected:
00036     // -----------------------------------------------------------------------
00037     //  Hidden constructors
00038     // -----------------------------------------------------------------------
00041     DOMPSVITypeInfo() {};
00043 
00044 private:
00045     // -----------------------------------------------------------------------
00046     // Unimplemented constructors and operators
00047     // -----------------------------------------------------------------------
00050     DOMPSVITypeInfo(const DOMPSVITypeInfo &);
00051     DOMPSVITypeInfo & operator = (const DOMPSVITypeInfo &);
00053 
00054 public:
00055 
00056     enum PSVIProperty
00057     {
00058         PSVI_Validity
00059         , PSVI_Validitation_Attempted
00060         , PSVI_Type_Definition_Type
00061         , PSVI_Type_Definition_Name
00062         , PSVI_Type_Definition_Namespace
00063         , PSVI_Type_Definition_Anonymous
00064         , PSVI_Nil
00065         , PSVI_Member_Type_Definition_Name
00066         , PSVI_Member_Type_Definition_Namespace
00067         , PSVI_Member_Type_Definition_Anonymous
00068         , PSVI_Schema_Default
00069         , PSVI_Schema_Normalized_Value
00070         , PSVI_Schema_Specified
00071     };
00072 
00073     // -----------------------------------------------------------------------
00074     //  All constructors are hidden, just the destructor is available
00075     // -----------------------------------------------------------------------
00082     virtual ~DOMPSVITypeInfo() {};
00084 
00086     // -----------------------------------------------------------------------
00087     //  Getter methods
00088     // -----------------------------------------------------------------------
00098     virtual const XMLCh* getStringProperty(PSVIProperty prop) const = 0;
00099 
00109     virtual int getNumericProperty(PSVIProperty prop) const = 0;
00111 };
00112 
00113 XERCES_CPP_NAMESPACE_END
00114 
00115 #endif
00116 


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