001    /*
002     * XML Type:  service-completionType
003     * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004     * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.naming;
009    
010    
011    /**
012     * An XML service-completionType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013     *
014     * This is a complex type.
015     */
016    public interface GerServiceCompletionType extends org.apache.xmlbeans.XmlObject
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerServiceCompletionType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("servicecompletiontype1bc4type");
020        
021        /**
022         * Gets the "service-name" element
023         */
024        java.lang.String getServiceName();
025        
026        /**
027         * Gets (as xml) the "service-name" element
028         */
029        org.apache.xmlbeans.XmlString xgetServiceName();
030        
031        /**
032         * Sets the "service-name" element
033         */
034        void setServiceName(java.lang.String serviceName);
035        
036        /**
037         * Sets (as xml) the "service-name" element
038         */
039        void xsetServiceName(org.apache.xmlbeans.XmlString serviceName);
040        
041        /**
042         * Gets array of all "port-completion" elements
043         */
044        org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType[] getPortCompletionArray();
045        
046        /**
047         * Gets ith "port-completion" element
048         */
049        org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType getPortCompletionArray(int i);
050        
051        /**
052         * Returns number of "port-completion" element
053         */
054        int sizeOfPortCompletionArray();
055        
056        /**
057         * Sets array of all "port-completion" element
058         */
059        void setPortCompletionArray(org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType[] portCompletionArray);
060        
061        /**
062         * Sets ith "port-completion" element
063         */
064        void setPortCompletionArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType portCompletion);
065        
066        /**
067         * Inserts and returns a new empty value (as xml) as the ith "port-completion" element
068         */
069        org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType insertNewPortCompletion(int i);
070        
071        /**
072         * Appends and returns a new empty value (as xml) as the last "port-completion" element
073         */
074        org.apache.geronimo.xbeans.geronimo.naming.GerPortCompletionType addNewPortCompletion();
075        
076        /**
077         * Removes the ith "port-completion" element
078         */
079        void removePortCompletion(int i);
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.geronimo.naming.GerServiceCompletionType newInstance() {
089              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
090            
091            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType newInstance(org.apache.xmlbeans.XmlOptions options) {
092              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
093            
094            /** @param xmlAsString the string value to parse */
095            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
096              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
097            
098            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
099              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) 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.geronimo.naming.GerServiceCompletionType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
103              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
104            
105            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
106              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
107            
108            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
109              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
110            
111            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
112              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
113            
114            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
115              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
116            
117            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
119            
120            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
122            
123            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
125            
126            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
127              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
128            
129            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
130              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
131            
132            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
133              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
134            
135            public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
136              return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType) 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.geronimo.naming.GerServiceCompletionType 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.geronimo.naming.GerServiceCompletionType) 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.geronimo.naming.GerServiceCompletionType 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.geronimo.naming.GerServiceCompletionType) 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    }