Samples JDK
GreetMeOneWayDocument.java
1 /*
2  * An XML document type.
3  * Localname: greetMeOneWay
4  * Namespace: http://apache.org/hello_world_soap_http/types
5  * Java type: org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package org.apache.helloWorldSoapHttp.types;
10 
11 
12 /**
13  * A document containing one greetMeOneWay(@http://apache.org/hello_world_soap_http/types) element.
14  *
15  * This is a complex type.
16  */
17 public interface GreetMeOneWayDocument extends org.apache.xmlbeans.XmlObject
18 {
19  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
20  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GreetMeOneWayDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFC3B1976DA4653A878A3259394BB6467").resolveHandle("greetmeonewaybd04doctype");
21 
22  /**
23  * Gets the "greetMeOneWay" element
24  */
26 
27  /**
28  * Sets the "greetMeOneWay" element
29  */
31 
32  /**
33  * Appends and returns a new empty "greetMeOneWay" element
34  */
36 
37  /**
38  * An XML greetMeOneWay(@http://apache.org/hello_world_soap_http/types).
39  *
40  * This is a complex type.
41  */
42  public interface GreetMeOneWay extends org.apache.xmlbeans.XmlObject
43  {
44  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
45  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GreetMeOneWay.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFC3B1976DA4653A878A3259394BB6467").resolveHandle("greetmeonewayc57aelemtype");
46 
47  /**
48  * Gets the "requestType" element
49  */
50  java.lang.String getRequestType();
51 
52  /**
53  * Gets (as xml) the "requestType" element
54  */
55  org.apache.xmlbeans.XmlString xgetRequestType();
56 
57  /**
58  * Sets the "requestType" element
59  */
60  void setRequestType(java.lang.String requestType);
61 
62  /**
63  * Sets (as xml) the "requestType" element
64  */
65  void xsetRequestType(org.apache.xmlbeans.XmlString requestType);
66 
67  /**
68  * A factory class with static methods for creating instances
69  * of this type.
70  */
71 
72  public static final class Factory
73  {
75  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
76 
77  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay newInstance(org.apache.xmlbeans.XmlOptions options) {
78  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
79 
80  private Factory() { } // No instance of this class allowed
81  }
82  }
83 
84  /**
85  * A factory class with static methods for creating instances
86  * of this type.
87  */
88 
89  public static final class Factory
90  {
91  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument newInstance() {
92  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
93 
94  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
95  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
96 
97  /** @param xmlAsString the string value to parse */
98  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
99  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
100 
101  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
102  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
103 
104  /** @param file the file from which to load an xml document */
105  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
106  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
107 
108  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
109  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
110 
111  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
112  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
113 
114  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
115  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
116 
117  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
119 
120  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
122 
123  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
125 
126  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
127  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
128 
129  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
130  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
131 
132  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
133  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
134 
135  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
136  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
137 
138  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
139  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
140 
141  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
142  @Deprecated
143  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
144  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
145 
146  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
147  @Deprecated
148  public static org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
149  return (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
150 
151  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
152  @Deprecated
153  public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
154  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
155 
156  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
157  @Deprecated
158  public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
159  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
160 
161  private Factory() { } // No instance of this class allowed
162  }
163 }
void setGreetMeOneWay(org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay greetMeOneWay)
org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay getGreetMeOneWay()
void xsetRequestType(org.apache.xmlbeans.XmlString requestType)
org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay addNewGreetMeOneWay()