summaryrefslogtreecommitdiff
path: root/libjava/gnu/xml/transform/Stylesheet.h
blob: 69ceaa8225709dc64c0a372d0e7a959afe3ead10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __gnu_xml_transform_Stylesheet__
#define __gnu_xml_transform_Stylesheet__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace gnu
  {
    namespace xml
    {
      namespace transform
      {
          class Bindings;
          class Stylesheet;
          class Template;
          class TemplateNode;
          class TransformerFactoryImpl;
          class TransformerImpl;
      }
      namespace xpath
      {
          class NameTest;
          class XPathImpl;
      }
    }
  }
  namespace javax
  {
    namespace xml
    {
      namespace namespace$
      {
          class QName;
      }
      namespace xpath
      {
          class XPathFunction;
      }
    }
  }
  namespace org
  {
    namespace w3c
    {
      namespace dom
      {
          class Document;
          class NamedNodeMap;
          class Node;
          class Text;
      }
    }
  }
}

class gnu::xml::transform::Stylesheet : public ::java::lang::Object
{

public: // actually package-private
  Stylesheet(::gnu::xml::transform::TransformerFactoryImpl *, ::gnu::xml::transform::Stylesheet *, ::org::w3c::dom::Document *, ::java::lang::String *, jint);
  virtual ::gnu::xml::transform::Stylesheet * getRootStylesheet();
  virtual void initDefaultDecimalFormat();
public:
  virtual ::java::lang::Object * clone();
public: // actually package-private
  virtual void initTopLevelVariables(::org::w3c::dom::Node *);
public:
  virtual ::java::lang::String * getNamespaceURI(::java::lang::String *);
  virtual ::java::lang::String * getPrefix(::java::lang::String *);
  virtual ::java::util::Iterator * getPrefixes(::java::lang::String *);
public: // actually package-private
  virtual ::javax::xml::namespace$::QName * getQName(::java::lang::String *);
  virtual ::gnu::xml::transform::TemplateNode * getTemplate(::javax::xml::namespace$::QName *, ::org::w3c::dom::Node *, jboolean);
  virtual ::gnu::xml::transform::TemplateNode * getTemplate(::javax::xml::namespace$::QName *, ::javax::xml::namespace$::QName *);
  virtual ::gnu::xml::transform::Template * parseTemplate(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
  virtual void parseOutput(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
  virtual void parseKey(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
  virtual void parseDecimalFormat(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
private:
  jchar parseDFChar(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *, jchar);
  ::java::lang::String * parseDFString(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *, ::java::lang::String *);
public: // actually package-private
  virtual void parseNamespaceAlias(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
  virtual void parseAttributeSet(::org::w3c::dom::Node *, ::org::w3c::dom::NamedNodeMap *);
  virtual void parse(::org::w3c::dom::Node *, jboolean);
  virtual void doParse(::org::w3c::dom::Node *, jboolean);
  virtual ::gnu::xml::xpath::NameTest * parseNameTest(::java::lang::String *);
  virtual ::gnu::xml::transform::TemplateNode * parseAttributeValueTemplate(::java::lang::String *, ::org::w3c::dom::Node *);
  virtual jboolean isPreserved(::org::w3c::dom::Text *, jboolean);
public:
  virtual ::javax::xml::xpath::XPathFunction * resolveFunction(::javax::xml::namespace$::QName *, jint);
public: // actually package-private
  virtual ::gnu::xml::transform::TemplateNode * parseApplyTemplates(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseCallTemplate(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseValueOf(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseForEach(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseIf(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseWhen(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseElement(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseAttribute(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseText(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseCopy(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseProcessingInstruction(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseNumber(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseCopyOf(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parseMessage(::org::w3c::dom::Node *);
  virtual ::gnu::xml::transform::TemplateNode * parse(::org::w3c::dom::Node *);
private:
  ::gnu::xml::transform::TemplateNode * doParse(::org::w3c::dom::Node *);
public: // actually package-private
  virtual ::java::util::List * parseSortKeys(::org::w3c::dom::Node *);
  virtual ::java::util::List * parseWithParams(::org::w3c::dom::Node *);
  virtual void addNamespaceNodes(::org::w3c::dom::Node *, ::org::w3c::dom::Node *, ::org::w3c::dom::Document *, ::java::util::Collection *);
  static ::java::lang::String * getAttribute(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *);
  static ::java::lang::String * getRequiredAttribute(::org::w3c::dom::NamedNodeMap *, ::java::lang::String *, ::org::w3c::dom::Node *);
public:
  virtual void handle(jshort, ::java::lang::String *, ::java::lang::Object *, ::org::w3c::dom::Node *, ::org::w3c::dom::Node *);
  virtual ::java::lang::String * toString();
public: // actually package-private
  static ::java::lang::String * XSL_NS;
private:
  static ::gnu::xml::xpath::NameTest * STYLESHEET_PRESERVE_TEXT;
public: // actually package-private
  static const jint OUTPUT_XML = 0;
  static const jint OUTPUT_HTML = 1;
  static const jint OUTPUT_TEXT = 2;
  ::gnu::xml::transform::TransformerFactoryImpl * __attribute__((aligned(__alignof__( ::java::lang::Object)))) factory;
  ::gnu::xml::transform::TransformerImpl * transformer;
  ::gnu::xml::transform::Stylesheet * parent;
  ::gnu::xml::xpath::XPathImpl * xpath;
  ::java::lang::String * systemId;
  jint precedence;
  jboolean debug;
  ::java::lang::String * version;
  ::java::util::Collection * extensionElementPrefixes;
  ::java::util::Collection * excludeResultPrefixes;
  ::java::util::Set * stripSpace;
  ::java::util::Set * preserveSpace;
  ::org::w3c::dom::Node * output;
  jint outputMethod;
  ::java::lang::String * outputVersion;
  ::java::lang::String * outputEncoding;
  jboolean outputOmitXmlDeclaration;
  jboolean outputStandalone;
  ::java::lang::String * outputPublicId;
  ::java::lang::String * outputSystemId;
  ::java::util::Collection * outputCdataSectionElements;
  jboolean outputIndent;
  ::java::lang::String * outputMediaType;
  ::java::util::Collection * keys;
  ::java::util::Map * decimalFormats;
  ::java::util::Map * namespaceAliases;
  ::java::util::List * attributeSets;
  ::java::util::List * variables;
  ::gnu::xml::transform::Bindings * bindings;
  ::java::util::LinkedList * templates;
  ::gnu::xml::transform::TemplateNode * builtInNodeTemplate;
  ::gnu::xml::transform::TemplateNode * builtInTextTemplate;
  ::org::w3c::dom::Node * current;
  jboolean terminated;
  ::gnu::xml::transform::Template * currentTemplate;
public:
  static ::java::lang::Class class$;
};

#endif // __gnu_xml_transform_Stylesheet__