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