View Javadoc

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