/*
 * An XML document type.
 * Localname: RegisterPublisher
 * Namespace: http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.notification.brokered;


/**
 * A document containing one RegisterPublisher(@http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd) element.
 *
 * This is a complex type.
 */
public interface RegisterPublisherDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("registerpublisher8219doctype");
    
    /**
     * Gets the "RegisterPublisher" element
     */
    org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher getRegisterPublisher();
    
    /**
     * Sets the "RegisterPublisher" element
     */
    void setRegisterPublisher(org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher registerPublisher);
    
    /**
     * Appends and returns a new empty "RegisterPublisher" element
     */
    org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher addNewRegisterPublisher();
    
    /**
     * An XML RegisterPublisher(@http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BrokeredNotification-1.2-draft-01.xsd).
     *
     * This is a complex type.
     */
    public interface RegisterPublisher extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("registerpublisher25feelemtype");
        
        /**
         * Gets the "PublisherReference" element
         */
        org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType getPublisherReference();
        
        /**
         * True if has "PublisherReference" element
         */
        boolean isSetPublisherReference();
        
        /**
         * Sets the "PublisherReference" element
         */
        void setPublisherReference(org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType publisherReference);
        
        /**
         * Appends and returns a new empty "PublisherReference" element
         */
        org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType addNewPublisherReference();
        
        /**
         * Unsets the "PublisherReference" element
         */
        void unsetPublisherReference();
        
        /**
         * Gets array of all "Topic" elements
         */
        org.activemq.ws.xmlbeans.notification.base.TopicExpressionType[] getTopicArray();
        
        /**
         * Gets ith "Topic" element
         */
        org.activemq.ws.xmlbeans.notification.base.TopicExpressionType getTopicArray(int i);
        
        /**
         * Returns number of "Topic" element
         */
        int sizeOfTopicArray();
        
        /**
         * Sets array of all "Topic" element
         */
        void setTopicArray(org.activemq.ws.xmlbeans.notification.base.TopicExpressionType[] topicArray);
        
        /**
         * Sets ith "Topic" element
         */
        void setTopicArray(int i, org.activemq.ws.xmlbeans.notification.base.TopicExpressionType topic);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Topic" element
         */
        org.activemq.ws.xmlbeans.notification.base.TopicExpressionType insertNewTopic(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Topic" element
         */
        org.activemq.ws.xmlbeans.notification.base.TopicExpressionType addNewTopic();
        
        /**
         * Removes the ith "Topic" element
         */
        void removeTopic(int i);
        
        /**
         * Gets the "Demand" element
         */
        boolean getDemand();
        
        /**
         * Gets (as xml) the "Demand" element
         */
        org.apache.xmlbeans.XmlBoolean xgetDemand();
        
        /**
         * True if has "Demand" element
         */
        boolean isSetDemand();
        
        /**
         * Sets the "Demand" element
         */
        void setDemand(boolean demand);
        
        /**
         * Sets (as xml) the "Demand" element
         */
        void xsetDemand(org.apache.xmlbeans.XmlBoolean demand);
        
        /**
         * Unsets the "Demand" element
         */
        void unsetDemand();
        
        /**
         * Gets the "InitialTerminationTime" element
         */
        java.util.Calendar getInitialTerminationTime();
        
        /**
         * Gets (as xml) the "InitialTerminationTime" element
         */
        org.apache.xmlbeans.XmlDateTime xgetInitialTerminationTime();
        
        /**
         * True if has "InitialTerminationTime" element
         */
        boolean isSetInitialTerminationTime();
        
        /**
         * Sets the "InitialTerminationTime" element
         */
        void setInitialTerminationTime(java.util.Calendar initialTerminationTime);
        
        /**
         * Sets (as xml) the "InitialTerminationTime" element
         */
        void xsetInitialTerminationTime(org.apache.xmlbeans.XmlDateTime initialTerminationTime);
        
        /**
         * Unsets the "InitialTerminationTime" element
         */
        void unsetInitialTerminationTime();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher newInstance() {
              return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument.RegisterPublisher) 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.notification.brokered.RegisterPublisherDocument newInstance() {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) 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.notification.brokered.RegisterPublisherDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static org.activemq.ws.xmlbeans.notification.brokered.RegisterPublisherDocument 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.notification.brokered.RegisterPublisherDocument) 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
    }
}
