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