XMLSchemaBuilder.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_xml_validation_xmlschema_XMLSchemaBuilder__
  3. #define __gnu_xml_validation_xmlschema_XMLSchemaBuilder__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace xml
  11. {
  12. namespace validation
  13. {
  14. namespace datatype
  15. {
  16. class Annotation;
  17. class SimpleType;
  18. class Type;
  19. }
  20. namespace xmlschema
  21. {
  22. class AnyAttribute;
  23. class ComplexType;
  24. class ElementDeclaration;
  25. class XMLSchema;
  26. class XMLSchemaBuilder;
  27. }
  28. }
  29. }
  30. }
  31. namespace javax
  32. {
  33. namespace xml
  34. {
  35. namespace namespace$
  36. {
  37. class QName;
  38. }
  39. }
  40. }
  41. namespace org
  42. {
  43. namespace relaxng
  44. {
  45. namespace datatype
  46. {
  47. class DatatypeLibrary;
  48. }
  49. }
  50. namespace w3c
  51. {
  52. namespace dom
  53. {
  54. class NamedNodeMap;
  55. class Node;
  56. }
  57. }
  58. }
  59. }
  60. class gnu::xml::validation::xmlschema::XMLSchemaBuilder : public ::java::lang::Object
  61. {
  62. public: // actually package-private
  63. XMLSchemaBuilder();
  64. virtual void parseSchema(::org::w3c::dom::Node *);
  65. virtual void parseTopLevelElement(::org::w3c::dom::Node *);
  66. virtual ::java::lang::Object * parseAttribute(::org::w3c::dom::Node *, jboolean);
  67. virtual jint parseFullDerivationSet(::java::lang::String *);
  68. virtual jint parseSimpleTypeDerivationSet(::java::lang::String *);
  69. virtual jint parseComplexTypeDerivationSet(::java::lang::String *);
  70. virtual jint parseBlockSet(::java::lang::String *);
  71. virtual jint parseComplexTypeBlockSet(::java::lang::String *);
  72. virtual ::java::lang::Object * parseElement(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
  73. virtual ::java::lang::Integer * getOccurrence(::java::lang::String *);
  74. virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::javax::xml::namespace$::QName *);
  75. virtual ::gnu::xml::validation::datatype::SimpleType * parseSimpleType(::org::w3c::dom::Node *);
  76. virtual ::gnu::xml::validation::datatype::Type * parseComplexType(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ElementDeclaration *);
  77. virtual void parseSimpleContent(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
  78. virtual void parseRestriction(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
  79. virtual void parseExtension(::org::w3c::dom::Node *, ::gnu::xml::validation::xmlschema::ComplexType *);
  80. virtual ::gnu::xml::validation::xmlschema::AnyAttribute * parseAnyAttribute(::org::w3c::dom::Node *);
  81. virtual ::gnu::xml::validation::datatype::Annotation * parseAnnotation(::org::w3c::dom::Node *);
  82. private:
  83. static ::java::lang::String * getAttribute(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *);
  84. static ::javax::xml::namespace$::QName * asQName(::java::lang::String *, ::org::w3c::dom::Node *);
  85. public: // actually package-private
  86. ::gnu::xml::validation::xmlschema::XMLSchema * __attribute__((aligned(__alignof__( ::java::lang::Object)))) schema;
  87. ::org::relaxng::datatype::DatatypeLibrary * typeLibrary;
  88. public:
  89. static ::java::lang::Class class$;
  90. };
  91. #endif // __gnu_xml_validation_xmlschema_XMLSchemaBuilder__