001 /*
002 * An XML attribute type.
003 * Localname: required
004 * Namespace: http://schemas.xmlsoap.org/wsdl/
005 * Java type: org.apache.geronimo.xbeans.wsdl.RequiredAttribute
006 *
007 * Automatically generated - do not modify.
008 */
009 package org.apache.geronimo.xbeans.wsdl;
010
011
012 /**
013 * A document containing one required(@http://schemas.xmlsoap.org/wsdl/) attribute.
014 *
015 * This is a complex type.
016 */
017 public interface RequiredAttribute extends org.apache.xmlbeans.XmlObject
018 {
019 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sDD32E5A2898F33527024818ADE537D3B.TypeSystemHolder.typeSystem.resolveHandle("requiredff7cattrtypetype");
020
021 /**
022 * Gets the "required" attribute
023 */
024 boolean getRequired();
025
026 /**
027 * Gets (as xml) the "required" attribute
028 */
029 org.apache.xmlbeans.XmlBoolean xgetRequired();
030
031 /**
032 * True if has "required" attribute
033 */
034 boolean isSetRequired();
035
036 /**
037 * Sets the "required" attribute
038 */
039 void setRequired(boolean required);
040
041 /**
042 * Sets (as xml) the "required" attribute
043 */
044 void xsetRequired(org.apache.xmlbeans.XmlBoolean required);
045
046 /**
047 * Unsets the "required" attribute
048 */
049 void unsetRequired();
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.xbeans.wsdl.RequiredAttribute newInstance() {
059 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
060
061 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute newInstance(org.apache.xmlbeans.XmlOptions options) {
062 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
063
064 /** @param xmlAsString the string value to parse */
065 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
066 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
067
068 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
069 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) 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.xbeans.wsdl.RequiredAttribute parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
073 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
074
075 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
076 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
077
078 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
079 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
080
081 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
082 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
083
084 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
085 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
086
087 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
088 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
089
090 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
091 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
092
093 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
094 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
095
096 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
097 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
098
099 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
100 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
101
102 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
103 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
104
105 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
106 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
107
108 /** @deprecated {@link XMLInputStream} */
109 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
110 return (org.apache.geronimo.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
111
112 /** @deprecated {@link XMLInputStream} */
113 public static org.apache.geronimo.xbeans.wsdl.RequiredAttribute 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.xbeans.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
115
116 /** @deprecated {@link 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 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 }