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