Package org.apache.muse.ws.notification.topics

Examples of org.apache.muse.ws.notification.topics.Topic


    public synchronized boolean equals(Object obj)
    {
        if (obj == null)
            return false;
       
        Topic that = (Topic)obj;
       
        if (!getName().equals(that.getName()))
            return false;
       
        String thisNS = getTopicNamespace().getTargetNamespace();
        String thatNS = that.getTopicNamespace().getTargetNamespace();
       
        if (!thisNS.equals(thatNS))
            return false;
       
        if (!getConcretePath().equals(that.getConcretePath()))
            return false;

        if (isFinal() != that.isFinal())
            return false;
       
        String thisPattern = getMessagePattern();
        String thatPattern = that.getMessagePattern();
       
        if (thisPattern != null)
            return thisPattern.equals(thatPattern);
       
        return thatPattern == null;
View Full Code Here


       
        Iterator i = getTopics().iterator();
       
        while (i.hasNext())
        {
            Topic topic = (Topic)i.next();
            Element topicXML = topic.toXML(doc);
            root.appendChild(topicXML);
        }
       
        return root;
    }
View Full Code Here

TOP

Related Classes of org.apache.muse.ws.notification.topics.Topic

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.