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