Samples JDK
MyStringType.java
1 /*
2  * XML Type: MyStringType
3  * Namespace: http://apache.org/hello_world_soap_http/types
4  * Java type: org.apache.helloWorldSoapHttp.types.MyStringType
5  *
6  * Automatically generated - do not modify.
7  */
8 package org.apache.helloWorldSoapHttp.types;
9 
10 
11 /**
12  * An XML MyStringType(@http://apache.org/hello_world_soap_http/types).
13  *
14  * This is an atomic type that is a restriction of org.apache.helloWorldSoapHttp.types.MyStringType.
15  */
16 public interface MyStringType extends org.apache.xmlbeans.XmlString
17 {
18  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
19  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(MyStringType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sFC3B1976DA4653A878A3259394BB6467").resolveHandle("mystringtype30d3type");
20 
21  /**
22  * A factory class with static methods for creating instances
23  * of this type.
24  */
25 
26  public static final class Factory
27  {
28  public static org.apache.helloWorldSoapHttp.types.MyStringType newValue(java.lang.Object obj) {
29  return (org.apache.helloWorldSoapHttp.types.MyStringType) type.newValue( obj ); }
30 
31  public static org.apache.helloWorldSoapHttp.types.MyStringType newInstance() {
32  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
33 
34  public static org.apache.helloWorldSoapHttp.types.MyStringType newInstance(org.apache.xmlbeans.XmlOptions options) {
35  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
36 
37  /** @param xmlAsString the string value to parse */
38  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
39  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
40 
41  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
42  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
43 
44  /** @param file the file from which to load an xml document */
45  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
46  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
47 
48  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
49  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
50 
51  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
52  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
53 
54  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
55  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
56 
57  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
58  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
59 
60  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
61  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
62 
63  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
64  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
65 
66  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
67  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
68 
69  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
70  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
71 
72  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
73  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
74 
75  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
76  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
77 
78  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
79  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
80 
81  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
82  @Deprecated
83  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
84  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
85 
86  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
87  @Deprecated
88  public static org.apache.helloWorldSoapHttp.types.MyStringType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
89  return (org.apache.helloWorldSoapHttp.types.MyStringType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
90 
91  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
92  @Deprecated
93  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 {
94  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
95 
96  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
97  @Deprecated
98  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 {
99  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
100 
101  private Factory() { } // No instance of this class allowed
102  }
103 }