001 /*
002 * XML Type: referenceType
003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2
004 * Java type: org.apache.geronimo.deployment.xbeans.ReferenceType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.deployment.xbeans;
009
010
011 /**
012 * An XML referenceType(@http://geronimo.apache.org/xml/ns/deployment-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface ReferenceType extends org.apache.geronimo.deployment.xbeans.PatternType
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ReferenceType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s428F6F412C3D7FF587AC6A8696D0654D").resolveHandle("referencetypec7bctype");
020
021 /**
022 * Gets the "name" attribute
023 */
024 java.lang.String getName2();
025
026 /**
027 * Gets (as xml) the "name" attribute
028 */
029 org.apache.xmlbeans.XmlString xgetName2();
030
031 /**
032 * True if has "name" attribute
033 */
034 boolean isSetName2();
035
036 /**
037 * Sets the "name" attribute
038 */
039 void setName2(java.lang.String name2);
040
041 /**
042 * Sets (as xml) the "name" attribute
043 */
044 void xsetName2(org.apache.xmlbeans.XmlString name2);
045
046 /**
047 * Unsets the "name" attribute
048 */
049 void unsetName2();
050
051 /**
052 * A factory class with static methods for creating instances
053 * of this type.
054 */
055
056 public static final class Factory
057 {
058 public static org.apache.geronimo.deployment.xbeans.ReferenceType newInstance() {
059 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
060
061 public static org.apache.geronimo.deployment.xbeans.ReferenceType newInstance(org.apache.xmlbeans.XmlOptions options) {
062 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
063
064 /** @param xmlAsString the string value to parse */
065 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
066 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
067
068 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
069 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
070
071 /** @param file the file from which to load an xml document */
072 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
073 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
074
075 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
076 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
077
078 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
079 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
080
081 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
082 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
083
084 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
085 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
086
087 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
088 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
089
090 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
091 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
092
093 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
094 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
095
096 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
097 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
098
099 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
100 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
101
102 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
103 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
104
105 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
106 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
107
108 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
109 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
110 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
111
112 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
113 public static org.apache.geronimo.deployment.xbeans.ReferenceType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
114 return (org.apache.geronimo.deployment.xbeans.ReferenceType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
115
116 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
117 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 {
118 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
119
120 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
121 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 {
122 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
123
124 private Factory() { } // No instance of this class allowed
125 }
126 }