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