001 /*
002 * XML Type: resource-refType
003 * Namespace: http://geronimo.apache.org/xml/ns/naming-1.2
004 * Java type: org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.xbeans.geronimo.naming;
009
010
011 /**
012 * An XML resource-refType(@http://geronimo.apache.org/xml/ns/naming-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GerResourceRefType 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(GerResourceRefType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s5BE83D0C34A23529A2EB03BDF6E4EE25").resolveHandle("resourcereftype28a4type");
020
021 /**
022 * Gets the "ref-name" element
023 */
024 java.lang.String getRefName();
025
026 /**
027 * Gets (as xml) the "ref-name" element
028 */
029 org.apache.xmlbeans.XmlString xgetRefName();
030
031 /**
032 * Sets the "ref-name" element
033 */
034 void setRefName(java.lang.String refName);
035
036 /**
037 * Sets (as xml) the "ref-name" element
038 */
039 void xsetRefName(org.apache.xmlbeans.XmlString refName);
040
041 /**
042 * Gets the "pattern" element
043 */
044 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType getPattern();
045
046 /**
047 * True if has "pattern" element
048 */
049 boolean isSetPattern();
050
051 /**
052 * Sets the "pattern" element
053 */
054 void setPattern(org.apache.geronimo.xbeans.geronimo.naming.GerPatternType pattern);
055
056 /**
057 * Appends and returns a new empty "pattern" element
058 */
059 org.apache.geronimo.xbeans.geronimo.naming.GerPatternType addNewPattern();
060
061 /**
062 * Unsets the "pattern" element
063 */
064 void unsetPattern();
065
066 /**
067 * Gets the "resource-link" element
068 */
069 java.lang.String getResourceLink();
070
071 /**
072 * Gets (as xml) the "resource-link" element
073 */
074 org.apache.xmlbeans.XmlString xgetResourceLink();
075
076 /**
077 * True if has "resource-link" element
078 */
079 boolean isSetResourceLink();
080
081 /**
082 * Sets the "resource-link" element
083 */
084 void setResourceLink(java.lang.String resourceLink);
085
086 /**
087 * Sets (as xml) the "resource-link" element
088 */
089 void xsetResourceLink(org.apache.xmlbeans.XmlString resourceLink);
090
091 /**
092 * Unsets the "resource-link" element
093 */
094 void unsetResourceLink();
095
096 /**
097 * Gets the "url" element
098 */
099 java.lang.String getUrl();
100
101 /**
102 * Gets (as xml) the "url" element
103 */
104 org.apache.xmlbeans.XmlString xgetUrl();
105
106 /**
107 * True if has "url" element
108 */
109 boolean isSetUrl();
110
111 /**
112 * Sets the "url" element
113 */
114 void setUrl(java.lang.String url);
115
116 /**
117 * Sets (as xml) the "url" element
118 */
119 void xsetUrl(org.apache.xmlbeans.XmlString url);
120
121 /**
122 * Unsets the "url" element
123 */
124 void unsetUrl();
125
126 /**
127 * A factory class with static methods for creating instances
128 * of this type.
129 */
130
131 public static final class Factory
132 {
133 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType newInstance() {
134 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
135
136 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType newInstance(org.apache.xmlbeans.XmlOptions options) {
137 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
138
139 /** @param xmlAsString the string value to parse */
140 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
141 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
142
143 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
144 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
145
146 /** @param file the file from which to load an xml document */
147 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
148 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
149
150 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
151 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
152
153 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
154 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
155
156 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
157 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
158
159 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
160 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
161
162 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
163 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
164
165 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
166 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
167
168 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
169 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
170
171 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
172 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
173
174 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
175 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
176
177 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
178 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
179
180 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
181 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
182
183 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
184 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
185 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
186
187 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
188 public static org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
189 return (org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
190
191 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
192 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 {
193 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
194
195 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
196 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 {
197 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
198
199 private Factory() { } // No instance of this class allowed
200 }
201 }