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