001 /* 002 * XML Type: tService 003 * Namespace: http://schemas.xmlsoap.org/wsdl/ 004 * Java type: org.apache.geronimo.xbeans.wsdl.TService 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.wsdl; 009 010 011 /** 012 * An XML tService(@http://schemas.xmlsoap.org/wsdl/). 013 * 014 * This is a complex type. 015 */ 016 public interface TService extends org.apache.geronimo.xbeans.wsdl.TExtensibleDocumented 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sDD32E5A2898F33527024818ADE537D3B.TypeSystemHolder.typeSystem.resolveHandle("tservicedd3ctype"); 019 020 /** 021 * Gets array of all "port" elements 022 */ 023 org.apache.geronimo.xbeans.wsdl.TPort[] getPortArray(); 024 025 /** 026 * Gets ith "port" element 027 */ 028 org.apache.geronimo.xbeans.wsdl.TPort getPortArray(int i); 029 030 /** 031 * Returns number of "port" element 032 */ 033 int sizeOfPortArray(); 034 035 /** 036 * Sets array of all "port" element 037 */ 038 void setPortArray(org.apache.geronimo.xbeans.wsdl.TPort[] portArray); 039 040 /** 041 * Sets ith "port" element 042 */ 043 void setPortArray(int i, org.apache.geronimo.xbeans.wsdl.TPort port); 044 045 /** 046 * Inserts and returns a new empty value (as xml) as the ith "port" element 047 */ 048 org.apache.geronimo.xbeans.wsdl.TPort insertNewPort(int i); 049 050 /** 051 * Appends and returns a new empty value (as xml) as the last "port" element 052 */ 053 org.apache.geronimo.xbeans.wsdl.TPort addNewPort(); 054 055 /** 056 * Removes the ith "port" element 057 */ 058 void removePort(int i); 059 060 /** 061 * Gets the "name" attribute 062 */ 063 java.lang.String getName(); 064 065 /** 066 * Gets (as xml) the "name" attribute 067 */ 068 org.apache.xmlbeans.XmlNCName xgetName(); 069 070 /** 071 * Sets the "name" attribute 072 */ 073 void setName(java.lang.String name); 074 075 /** 076 * Sets (as xml) the "name" attribute 077 */ 078 void xsetName(org.apache.xmlbeans.XmlNCName name); 079 080 /** 081 * A factory class with static methods for creating instances 082 * of this type. 083 */ 084 085 public static final class Factory 086 { 087 public static org.apache.geronimo.xbeans.wsdl.TService newInstance() { 088 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 089 090 public static org.apache.geronimo.xbeans.wsdl.TService newInstance(org.apache.xmlbeans.XmlOptions options) { 091 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 092 093 /** @param xmlAsString the string value to parse */ 094 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 095 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 096 097 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 098 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 099 100 /** @param file the file from which to load an xml document */ 101 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 102 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 103 104 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 105 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 106 107 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 108 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 109 110 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 111 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 112 113 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 114 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 115 116 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 117 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 118 119 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 120 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 121 122 public static org.apache.geronimo.xbeans.wsdl.TService parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 123 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 124 125 public static org.apache.geronimo.xbeans.wsdl.TService parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 126 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 127 128 public static org.apache.geronimo.xbeans.wsdl.TService parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 129 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 130 131 public static org.apache.geronimo.xbeans.wsdl.TService parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 132 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 133 134 public static org.apache.geronimo.xbeans.wsdl.TService parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 135 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 136 137 /** @deprecated {@link XMLInputStream} */ 138 public static org.apache.geronimo.xbeans.wsdl.TService parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 139 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 140 141 /** @deprecated {@link XMLInputStream} */ 142 public static org.apache.geronimo.xbeans.wsdl.TService parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 143 return (org.apache.geronimo.xbeans.wsdl.TService) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 144 145 /** @deprecated {@link XMLInputStream} */ 146 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 { 147 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 148 149 /** @deprecated {@link XMLInputStream} */ 150 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 { 151 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 152 153 private Factory() { } // No instance of this class allowed 154 } 155 }