View Javadoc

1   /*
2    * XML Type:  CommonHeadersType
3    * Namespace: http://grinder.sourceforge.net/tcpproxy/http/1.0
4    * Java type: net.grinder.plugin.http.xml.CommonHeadersType
5    *
6    * Automatically generated - do not modify.
7    */
8   package net.grinder.plugin.http.xml;
9   
10  
11  /**
12   * An XML CommonHeadersType(@http://grinder.sourceforge.net/tcpproxy/http/1.0).
13   *
14   * This is a complex type.
15   */
16  public interface CommonHeadersType extends net.grinder.plugin.http.xml.HeadersType
17  {
18      public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
19          org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(CommonHeadersType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s7094CB24746ED74C75E055E113D1A2AA").resolveHandle("commonheaderstype1e8ftype");
20      
21      /**
22       * Gets the "headers-id" attribute
23       */
24      java.lang.String getHeadersId();
25      
26      /**
27       * Gets (as xml) the "headers-id" attribute
28       */
29      net.grinder.plugin.http.xml.IDType xgetHeadersId();
30      
31      /**
32       * True if has "headers-id" attribute
33       */
34      boolean isSetHeadersId();
35      
36      /**
37       * Sets the "headers-id" attribute
38       */
39      void setHeadersId(java.lang.String headersId);
40      
41      /**
42       * Sets (as xml) the "headers-id" attribute
43       */
44      void xsetHeadersId(net.grinder.plugin.http.xml.IDType headersId);
45      
46      /**
47       * Unsets the "headers-id" attribute
48       */
49      void unsetHeadersId();
50      
51      /**
52       * A factory class with static methods for creating instances
53       * of this type.
54       */
55      
56      public static final class Factory
57      {
58          public static net.grinder.plugin.http.xml.CommonHeadersType newInstance() {
59            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
60          
61          public static net.grinder.plugin.http.xml.CommonHeadersType newInstance(org.apache.xmlbeans.XmlOptions options) {
62            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
63          
64          /** @param xmlAsString the string value to parse */
65          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
66            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
67          
68          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
69            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
70          
71          /** @param file the file from which to load an xml document */
72          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
73            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
74          
75          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
76            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
77          
78          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
79            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
80          
81          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
82            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
83          
84          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
85            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
86          
87          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
88            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
89          
90          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
91            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
92          
93          public static net.grinder.plugin.http.xml.CommonHeadersType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
94            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
95          
96          public static net.grinder.plugin.http.xml.CommonHeadersType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
97            return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
98          
99          public static net.grinder.plugin.http.xml.CommonHeadersType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
100           return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
101         
102         public static net.grinder.plugin.http.xml.CommonHeadersType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
103           return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
104         
105         public static net.grinder.plugin.http.xml.CommonHeadersType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
106           return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
107         
108         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
109         public static net.grinder.plugin.http.xml.CommonHeadersType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
110           return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
111         
112         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
113         public static net.grinder.plugin.http.xml.CommonHeadersType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
114           return (net.grinder.plugin.http.xml.CommonHeadersType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
115         
116         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
117         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 {
118           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
119         
120         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
121         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 {
122           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
123         
124         private Factory() { } // No instance of this class allowed
125     }
126 }