/*
 * An XML document type.
 * Localname: Subscribe
 * Namespace: http://schemas.xmlsoap.org/ws/2004/08/eventing
 * Java type: org.activemq.ws.xmlbeans.eventing.SubscribeDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.eventing;


/**
 * A document containing one Subscribe(@http://schemas.xmlsoap.org/ws/2004/08/eventing) element.
 *
 * This is a complex type.
 */
public interface SubscribeDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("subscribe08bfdoctype");
    
    /**
     * Gets the "Subscribe" element
     */
    org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe getSubscribe();
    
    /**
     * Sets the "Subscribe" element
     */
    void setSubscribe(org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe subscribe);
    
    /**
     * Appends and returns a new empty "Subscribe" element
     */
    org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe addNewSubscribe();
    
    /**
     * An XML Subscribe(@http://schemas.xmlsoap.org/ws/2004/08/eventing).
     *
     * This is a complex type.
     */
    public interface Subscribe extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("subscribeb369elemtype");
        
        /**
         * Gets the "EndTo" element
         */
        org.activemq.ws.xmlbeans.addressing.v2004_08.EndpointReferenceType getEndTo();
        
        /**
         * True if has "EndTo" element
         */
        boolean isSetEndTo();
        
        /**
         * Sets the "EndTo" element
         */
        void setEndTo(org.activemq.ws.xmlbeans.addressing.v2004_08.EndpointReferenceType endTo);
        
        /**
         * Appends and returns a new empty "EndTo" element
         */
        org.activemq.ws.xmlbeans.addressing.v2004_08.EndpointReferenceType addNewEndTo();
        
        /**
         * Unsets the "EndTo" element
         */
        void unsetEndTo();
        
        /**
         * Gets the "Delivery" element
         */
        org.activemq.ws.xmlbeans.eventing.DeliveryType getDelivery();
        
        /**
         * Sets the "Delivery" element
         */
        void setDelivery(org.activemq.ws.xmlbeans.eventing.DeliveryType delivery);
        
        /**
         * Appends and returns a new empty "Delivery" element
         */
        org.activemq.ws.xmlbeans.eventing.DeliveryType addNewDelivery();
        
        /**
         * Gets the "Expires" element
         */
        java.lang.Object getExpires();
        
        /**
         * Gets (as xml) the "Expires" element
         */
        org.activemq.ws.xmlbeans.eventing.ExpirationType xgetExpires();
        
        /**
         * True if has "Expires" element
         */
        boolean isSetExpires();
        
        /**
         * Sets the "Expires" element
         */
        void setExpires(java.lang.Object expires);
        
        /**
         * Sets (as xml) the "Expires" element
         */
        void xsetExpires(org.activemq.ws.xmlbeans.eventing.ExpirationType expires);
        
        /**
         * Unsets the "Expires" element
         */
        void unsetExpires();
        
        /**
         * Gets the "Filter" element
         */
        org.activemq.ws.xmlbeans.eventing.FilterType getFilter();
        
        /**
         * True if has "Filter" element
         */
        boolean isSetFilter();
        
        /**
         * Sets the "Filter" element
         */
        void setFilter(org.activemq.ws.xmlbeans.eventing.FilterType filter);
        
        /**
         * Appends and returns a new empty "Filter" element
         */
        org.activemq.ws.xmlbeans.eventing.FilterType addNewFilter();
        
        /**
         * Unsets the "Filter" element
         */
        void unsetFilter();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe newInstance() {
              return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument.Subscribe) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument newInstance() {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static org.activemq.ws.xmlbeans.eventing.SubscribeDocument 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.activemq.ws.xmlbeans.eventing.SubscribeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        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 ); }
        
        /** @deprecated {@link XMLInputStream} */
        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
    }
}
