it_bus_pdk/xml_attribute_reader.h

00001 #ifndef _IT_BUS_PDK_XML_ATTRIBUTE_READER_H_
00002 #define _IT_BUS_PDK_XML_ATTRIBUTE_READER_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus_pdk/simple_reader.h>
00008 #include <it_bus_pdk/xml_stream_node.h>
00009 
00010 namespace IT_Bus {
00011 
00012     class IT_BUS_XML_API XMLAttributeReader : public SimpleReader
00013     {
00014       public:
00015         XMLAttributeReader(
00016             XMLStreamNode & element
00017         );
00018 
00019         virtual ~XMLAttributeReader();
00020 
00021         virtual void 
00022         read(
00023             const QName & name, Boolean& bResult
00024         ) throw((DeserializationException));
00025 
00026         virtual void 
00027         read(
00028             const QName & name,
00029             Float& fResult
00030         ) throw((DeserializationException));
00031 
00032         virtual void 
00033         read(
00034             const QName & name,
00035             Double& dResult
00036         ) throw((DeserializationException));
00037 
00038         virtual void 
00039         read(
00040             const QName & name,
00041             Int& iResult
00042         ) throw((DeserializationException));
00043 
00044         virtual void 
00045         read(
00046             const QName & name,
00047             Long& lResult
00048         ) throw((DeserializationException));
00049 
00050         virtual void 
00051         read(
00052             const QName & name,
00053             Short& lResult
00054         ) throw((DeserializationException));
00055 
00056         virtual void 
00057         read(
00058             const QName & name,
00059             UInt& iResult
00060         ) throw((DeserializationException));
00061 
00062         virtual void 
00063         read(
00064             const QName & name,
00065             ULong& lResult
00066         ) throw((DeserializationException));
00067 
00068         virtual void 
00069         read(
00070             const QName & name,
00071             UShort& lResult
00072         ) throw((DeserializationException));
00073 
00074         virtual void 
00075         read(
00076             const QName & name,
00077             Byte& byteResult
00078         ) throw((DeserializationException));
00079 
00080         virtual void 
00081         read(
00082             const QName & name,
00083             UByte& byteResult
00084         ) throw((DeserializationException));
00085 
00086         virtual void 
00087         read(
00088             const QName & name,
00089             DateTime& timeResult
00090         ) throw((DeserializationException));
00091 
00092         virtual void 
00093         read(
00094             const QName & name,
00095             String& timeResult
00096         ) throw((DeserializationException));
00097 
00098         virtual void 
00099         read(
00100             const QName & name,
00101             Decimal& fixedResult
00102         ) throw((DeserializationException));
00103 
00104         virtual void 
00105         read(
00106             const QName & name,
00107             BinaryOutParam& data
00108         ) throw((DeserializationException));
00109 
00110         virtual void 
00111         read(
00112             const QName & name,
00113             QName& data
00114         ) throw((DeserializationException));
00115 
00116         virtual void 
00117         read(
00118             const QName & name,
00119             AnyType&      data
00120         ) throw((DeserializationException));
00121 
00122         virtual void
00123         read_any_simple(
00124             const QName & name,
00125             AnySimpleType& data
00126         ) throw((DeserializationException));
00127 
00128         virtual void 
00129         read_simple_type_list(
00130             const QName & name,
00131             SimpleTypeList & data
00132         ) throw((DeserializationException));
00133 
00134         virtual void 
00135         read_simple_type_union(
00136             const QName & name,
00137             SimpleTypeUnion & data
00138         ) throw((DeserializationException));
00139 
00140         virtual void
00141         read_nillable(
00142             const QName & name,
00143             Nillable& data
00144         ) throw((DeserializationException));
00145 
00146         virtual void
00147         read_attribute_map(
00148             IT_Bus::QNameHashMap<IT_Bus::String> & map
00149         ) throw((DeserializationException));
00150         
00151       protected:
00152 
00153         XMLStreamNode & m_element;
00154     };
00155 }
00156 
00157 #endif  

Generated on Tue Mar 20 15:27:53 2007 for Artix by  doxygen 1.5.1-p1