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