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