001 /* 002 * XML Type: service-refType 003 * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.naming; 009 010 011 /** 012 * An XML service-refType(@http://geronimo.apache.org/xml/ns/naming-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerServiceRefType 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(GerServiceRefType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("servicereftypee10ftype"); 020 021 /** 022 * Gets the "service-ref-name" element 023 */ 024 java.lang.String getServiceRefName(); 025 026 /** 027 * Gets (as xml) the "service-ref-name" element 028 */ 029 org.apache.xmlbeans.XmlString xgetServiceRefName(); 030 031 /** 032 * Sets the "service-ref-name" element 033 */ 034 void setServiceRefName(java.lang.String serviceRefName); 035 036 /** 037 * Sets (as xml) the "service-ref-name" element 038 */ 039 void xsetServiceRefName(org.apache.xmlbeans.XmlString serviceRefName); 040 041 /** 042 * Gets the "service-completion" element 043 */ 044 org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType getServiceCompletion(); 045 046 /** 047 * True if has "service-completion" element 048 */ 049 boolean isSetServiceCompletion(); 050 051 /** 052 * Sets the "service-completion" element 053 */ 054 void setServiceCompletion(org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType serviceCompletion); 055 056 /** 057 * Appends and returns a new empty "service-completion" element 058 */ 059 org.apache.geronimo.xbeans.geronimo.naming.GerServiceCompletionType addNewServiceCompletion(); 060 061 /** 062 * Unsets the "service-completion" element 063 */ 064 void unsetServiceCompletion(); 065 066 /** 067 * Gets array of all "port" elements 068 */ 069 org.apache.geronimo.xbeans.geronimo.naming.GerPortType[] getPortArray(); 070 071 /** 072 * Gets ith "port" element 073 */ 074 org.apache.geronimo.xbeans.geronimo.naming.GerPortType getPortArray(int i); 075 076 /** 077 * Returns number of "port" element 078 */ 079 int sizeOfPortArray(); 080 081 /** 082 * Sets array of all "port" element 083 */ 084 void setPortArray(org.apache.geronimo.xbeans.geronimo.naming.GerPortType[] portArray); 085 086 /** 087 * Sets ith "port" element 088 */ 089 void setPortArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerPortType port); 090 091 /** 092 * Inserts and returns a new empty value (as xml) as the ith "port" element 093 */ 094 org.apache.geronimo.xbeans.geronimo.naming.GerPortType insertNewPort(int i); 095 096 /** 097 * Appends and returns a new empty value (as xml) as the last "port" element 098 */ 099 org.apache.geronimo.xbeans.geronimo.naming.GerPortType addNewPort(); 100 101 /** 102 * Removes the ith "port" element 103 */ 104 void removePort(int i); 105 106 /** 107 * A factory class with static methods for creating instances 108 * of this type. 109 */ 110 111 public static final class Factory 112 { 113 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType newInstance() { 114 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 115 116 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType newInstance(org.apache.xmlbeans.XmlOptions options) { 117 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 118 119 /** @param xmlAsString the string value to parse */ 120 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 121 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 122 123 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 124 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 125 126 /** @param file the file from which to load an xml document */ 127 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 128 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 129 130 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 131 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 132 133 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 134 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 135 136 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 137 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 138 139 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 140 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 141 142 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 143 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 144 145 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 146 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 147 148 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 149 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 150 151 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 152 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 153 154 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 155 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 156 157 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 158 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 159 160 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 161 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 162 163 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 164 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 165 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 166 167 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 168 public static org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 169 return (org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 170 171 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 172 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 { 173 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 174 175 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 176 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 { 177 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 178 179 private Factory() { } // No instance of this class allowed 180 } 181 }