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