Samples JDK
FaultDetailDocument.java
1 /*
2  * An XML document type.
3  * Localname: faultDetail
4  * Namespace: http://apache.org/hello_world_soap_http/types
5  * Java type: org.apache.helloWorldSoapHttp.types.FaultDetailDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package org.apache.helloWorldSoapHttp.types;
10 
11 
12 /**
13  * A document containing one faultDetail(@http://apache.org/hello_world_soap_http/types) element.
14  *
15  * This is a complex type.
16  */
17 public interface FaultDetailDocument 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(FaultDetailDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFC3B1976DA4653A878A3259394BB6467").resolveHandle("faultdetaildb8ddoctype");
21 
22  /**
23  * Gets the "faultDetail" element
24  */
26 
27  /**
28  * Sets the "faultDetail" element
29  */
31 
32  /**
33  * Appends and returns a new empty "faultDetail" element
34  */
36 
37  /**
38  * An XML faultDetail(@http://apache.org/hello_world_soap_http/types).
39  *
40  * This is a complex type.
41  */
42  public interface FaultDetail 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(FaultDetail.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFC3B1976DA4653A878A3259394BB6467").resolveHandle("faultdetailc08celemtype");
46 
47  /**
48  * Gets the "minor" element
49  */
50  short getMinor();
51 
52  /**
53  * Gets (as xml) the "minor" element
54  */
55  org.apache.xmlbeans.XmlShort xgetMinor();
56 
57  /**
58  * Sets the "minor" element
59  */
60  void setMinor(short minor);
61 
62  /**
63  * Sets (as xml) the "minor" element
64  */
65  void xsetMinor(org.apache.xmlbeans.XmlShort minor);
66 
67  /**
68  * Gets the "major" element
69  */
70  short getMajor();
71 
72  /**
73  * Gets (as xml) the "major" element
74  */
75  org.apache.xmlbeans.XmlShort xgetMajor();
76 
77  /**
78  * Sets the "major" element
79  */
80  void setMajor(short major);
81 
82  /**
83  * Sets (as xml) the "major" element
84  */
85  void xsetMajor(org.apache.xmlbeans.XmlShort major);
86 
87  /**
88  * A factory class with static methods for creating instances
89  * of this type.
90  */
91 
92  public static final class Factory
93  {
95  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
96 
97  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail newInstance(org.apache.xmlbeans.XmlOptions options) {
98  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
99 
100  private Factory() { } // No instance of this class allowed
101  }
102  }
103 
104  /**
105  * A factory class with static methods for creating instances
106  * of this type.
107  */
108 
109  public static final class Factory
110  {
111  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument newInstance() {
112  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
113 
114  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
115  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
116 
117  /** @param xmlAsString the string value to parse */
118  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
119  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
120 
121  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
122  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
123 
124  /** @param file the file from which to load an xml document */
125  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
126  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
127 
128  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
129  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
130 
131  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
132  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
133 
134  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
135  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
136 
137  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
139 
140  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
141  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
142 
143  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
145 
146  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
147  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
148 
149  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
150  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
151 
152  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
153  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
154 
155  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
156  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
157 
158  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
160 
161  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
162  @Deprecated
163  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
164  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
165 
166  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
167  @Deprecated
168  public static org.apache.helloWorldSoapHttp.types.FaultDetailDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
169  return (org.apache.helloWorldSoapHttp.types.FaultDetailDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
170 
171  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
172  @Deprecated
173  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 {
174  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
175 
176  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
177  @Deprecated
178  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 {
179  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
180 
181  private Factory() { } // No instance of this class allowed
182  }
183 }
org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail getFaultDetail()
org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail addNewFaultDetail()
void setFaultDetail(org.apache.helloWorldSoapHttp.types.FaultDetailDocument.FaultDetail faultDetail)