001 /*
002 * XML Type: artifactType
003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2
004 * Java type: org.apache.geronimo.deployment.xbeans.ArtifactType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.deployment.xbeans;
009
010
011 /**
012 * An XML artifactType(@http://geronimo.apache.org/xml/ns/deployment-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface ArtifactType extends org.apache.xmlbeans.XmlObject
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.s596967AB426BF091FD59326316BABB46.TypeSystemHolder.typeSystem.resolveHandle("artifacttypebd23type");
019
020 /**
021 * Gets the "groupId" element
022 */
023 java.lang.String getGroupId();
024
025 /**
026 * Gets (as xml) the "groupId" element
027 */
028 org.apache.xmlbeans.XmlString xgetGroupId();
029
030 /**
031 * True if has "groupId" element
032 */
033 boolean isSetGroupId();
034
035 /**
036 * Sets the "groupId" element
037 */
038 void setGroupId(java.lang.String groupId);
039
040 /**
041 * Sets (as xml) the "groupId" element
042 */
043 void xsetGroupId(org.apache.xmlbeans.XmlString groupId);
044
045 /**
046 * Unsets the "groupId" element
047 */
048 void unsetGroupId();
049
050 /**
051 * Gets the "artifactId" element
052 */
053 java.lang.String getArtifactId();
054
055 /**
056 * Gets (as xml) the "artifactId" element
057 */
058 org.apache.xmlbeans.XmlString xgetArtifactId();
059
060 /**
061 * Sets the "artifactId" element
062 */
063 void setArtifactId(java.lang.String artifactId);
064
065 /**
066 * Sets (as xml) the "artifactId" element
067 */
068 void xsetArtifactId(org.apache.xmlbeans.XmlString artifactId);
069
070 /**
071 * Gets the "version" element
072 */
073 java.lang.String getVersion();
074
075 /**
076 * Gets (as xml) the "version" element
077 */
078 org.apache.xmlbeans.XmlString xgetVersion();
079
080 /**
081 * True if has "version" element
082 */
083 boolean isSetVersion();
084
085 /**
086 * Sets the "version" element
087 */
088 void setVersion(java.lang.String version);
089
090 /**
091 * Sets (as xml) the "version" element
092 */
093 void xsetVersion(org.apache.xmlbeans.XmlString version);
094
095 /**
096 * Unsets the "version" element
097 */
098 void unsetVersion();
099
100 /**
101 * Gets the "type" element
102 */
103 java.lang.String getType();
104
105 /**
106 * Gets (as xml) the "type" element
107 */
108 org.apache.xmlbeans.XmlString xgetType();
109
110 /**
111 * True if has "type" element
112 */
113 boolean isSetType();
114
115 /**
116 * Sets the "type" element
117 */
118 void setType(java.lang.String type);
119
120 /**
121 * Sets (as xml) the "type" element
122 */
123 void xsetType(org.apache.xmlbeans.XmlString type);
124
125 /**
126 * Unsets the "type" element
127 */
128 void unsetType();
129
130 /**
131 * A factory class with static methods for creating instances
132 * of this type.
133 */
134
135 public static final class Factory
136 {
137 public static org.apache.geronimo.deployment.xbeans.ArtifactType newInstance() {
138 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
139
140 public static org.apache.geronimo.deployment.xbeans.ArtifactType newInstance(org.apache.xmlbeans.XmlOptions options) {
141 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
142
143 /** @param xmlAsString the string value to parse */
144 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
145 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
146
147 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
148 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
149
150 /** @param file the file from which to load an xml document */
151 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
152 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
153
154 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
155 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
156
157 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
158 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
159
160 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
161 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
162
163 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
164 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
165
166 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
167 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
168
169 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
170 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
171
172 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
173 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
174
175 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
176 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
177
178 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
179 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
180
181 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
182 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
183
184 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
185 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
186
187 /** @deprecated {@link XMLInputStream} */
188 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
189 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
190
191 /** @deprecated {@link XMLInputStream} */
192 public static org.apache.geronimo.deployment.xbeans.ArtifactType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
193 return (org.apache.geronimo.deployment.xbeans.ArtifactType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
194
195 /** @deprecated {@link XMLInputStream} */
196 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 {
197 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
198
199 /** @deprecated {@link XMLInputStream} */
200 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 {
201 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
202
203 private Factory() { } // No instance of this class allowed
204 }
205 }