/*
 * XML Type:  ContextType
 * Namespace: http://schemas.xmlsoap.org/ws/2002/07/utility
 * Java type: org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType
 *
 * Automatically generated - do not modify.
 */
package org.xmlsoap.schemas.ws.x2002.x07.utility;


/**
 * An XML ContextType(@http://schemas.xmlsoap.org/ws/2002/07/utility).
 * <p/>
 * This is a complex type.
 */
public interface ContextType extends org.apache.xmlbeans.XmlObject {
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) schema.system.s3A9E7247E37A34A5E3891BE64349C3B8.TypeSystemHolder.typeSystem.resolveHandle("contexttype8f65type");

    /**
     * Gets the "Expires" element
     */
    org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedDateTime getExpires();

    /**
     * True if has "Expires" element
     */
    boolean isSetExpires();

    /**
     * Sets the "Expires" element
     */
    void setExpires(org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedDateTime expires);

    /**
     * Appends and returns a new empty "Expires" element
     */
    org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedDateTime addNewExpires();

    /**
     * Unsets the "Expires" element
     */
    void unsetExpires();

    /**
     * Gets the "Identifier" element
     */
    org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedURI getIdentifier();

    /**
     * Sets the "Identifier" element
     */
    void setIdentifier(org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedURI identifier);

    /**
     * Appends and returns a new empty "Identifier" element
     */
    org.xmlsoap.schemas.ws.x2002.x07.utility.AttributedURI addNewIdentifier();

    /**
     * Gets the "Id" attribute
     */
    java.lang.String getId();

    /**
     * Gets (as xml) the "Id" attribute
     */
    org.apache.xmlbeans.XmlID xgetId();

    /**
     * True if has "Id" attribute
     */
    boolean isSetId();

    /**
     * Sets the "Id" attribute
     */
    void setId(java.lang.String id);

    /**
     * Sets (as xml) the "Id" attribute
     */
    void xsetId(org.apache.xmlbeans.XmlID id);

    /**
     * Unsets the "Id" attribute
     */
    void unsetId();

    /**
     * A factory class with static methods for creating instances
     * of this type.
     */

    public static final class Factory {
        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType newInstance() {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance(type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType newInstance(org.apache.xmlbeans.XmlOptions options) {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance(type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(s, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(s, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(f, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(f, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(u, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(u, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(is, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(is, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(r, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(r, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(node, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(node, type, options);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(xis, type, null);
        }

        public static org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
            return (org.xmlsoap.schemas.ws.x2002.x07.utility.ContextType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse(xis, type, options);
        }

        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 {
            return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream(xis, type, null);
        }

        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 {
            return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream(xis, type, options);
        }

        private Factory() {
        } // No instance of this class allowed
    }
}
