OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / xml / validation / datatype / SimpleType.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_xml_validation_datatype_SimpleType__
5 #define __gnu_xml_validation_datatype_SimpleType__
6
7 #pragma interface
8
9 #include <gnu/xml/validation/datatype/Type.h>
10 extern "Java"
11 {
12   namespace gnu
13   {
14     namespace xml
15     {
16       namespace validation
17       {
18         namespace datatype
19         {
20             class Annotation;
21             class SimpleType;
22         }
23       }
24     }
25   }
26   namespace javax
27   {
28     namespace xml
29     {
30       namespace namespace
31       {
32           class QName;
33       }
34     }
35   }
36   namespace org
37   {
38     namespace relaxng
39     {
40       namespace datatype
41       {
42           class DatatypeStreamingValidator;
43           class ValidationContext;
44       }
45     }
46   }
47 }
48
49 class gnu::xml::validation::datatype::SimpleType : public ::gnu::xml::validation::datatype::Type
50 {
51
52 public:
53   SimpleType(::javax::xml::namespace::QName *, jint, ::java::util::Set *, jint, ::gnu::xml::validation::datatype::SimpleType *, ::gnu::xml::validation::datatype::Annotation *);
54   virtual jboolean isValid(::java::lang::String *, ::org::relaxng::datatype::ValidationContext *);
55   virtual void checkValid(::java::lang::String *, ::org::relaxng::datatype::ValidationContext *);
56 private:
57   static jint countDigits(::java::lang::String *, jboolean);
58 public:
59   virtual ::org::relaxng::datatype::DatatypeStreamingValidator * createStreamingValidator(::org::relaxng::datatype::ValidationContext *);
60   virtual ::java::lang::Object * createValue(::java::lang::String *, ::org::relaxng::datatype::ValidationContext *);
61   virtual jboolean sameValue(::java::lang::Object *, ::java::lang::Object *);
62   virtual jint valueHashCode(::java::lang::Object *);
63   virtual jint getIdType();
64   virtual jboolean isContextDependent();
65   static const jint ANY = 0;
66   static const jint ATOMIC = 1;
67   static const jint LIST = 2;
68   static const jint UNION = 3;
69   static const jint ID_TYPE_NULL = 0;
70   static const jint ID_TYPE_ID = 1;
71   static const jint ID_TYPE_IDREF = 2;
72   static const jint ID_TYPE_IDREFS = 3;
73   jint __attribute__((aligned(__alignof__( ::gnu::xml::validation::datatype::Type)))) variety;
74   ::java::util::Set * facets;
75   jint fundamentalFacets;
76   ::gnu::xml::validation::datatype::SimpleType * baseType;
77   ::gnu::xml::validation::datatype::Annotation * annotation;
78   static ::java::lang::Class class$;
79 };
80
81 #endif // __gnu_xml_validation_datatype_SimpleType__