org.gxos.schema
Class EventDestination

java.lang.Object
  |
  +--org.gxos.schema.DestinationObjectType
        |
        +--org.gxos.schema.EventDestination
All Implemented Interfaces:
java.io.Serializable

public class EventDestination
extends DestinationObjectType
implements java.io.Serializable

Specify list of destination objects using DestinationObject DTD Allows multiple destinations and implies DestinationQueue, DestinationTopic, DestinationSubTopic Used in cruder JMS Header specification of Destination

See Also:
Serialized Form

Constructor Summary
EventDestination()
           
 
Method Summary
 boolean isValid()
           
 void marshal(org.xml.sax.DocumentHandler handler)
           
 void marshal(java.io.Writer out)
           
static EventDestination unmarshal(java.io.Reader reader)
           
 void validate()
           
 
Methods inherited from class org.gxos.schema.DestinationObjectType
addDestination, addDestination, enumerateDestination, getDestination, getDestination, getDestinationCount, getDestinationforJMS, removeAllDestination, removeDestination, setDestination, setDestination, setDestinationforJMS
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDestination

public EventDestination()
Method Detail

isValid

public boolean isValid()
Overrides:
isValid in class DestinationObjectType

marshal

public void marshal(java.io.Writer out)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class DestinationObjectType
Parameters:
out -  

marshal

public void marshal(org.xml.sax.DocumentHandler handler)
             throws org.exolab.castor.xml.MarshalException,
                    org.exolab.castor.xml.ValidationException
Overrides:
marshal in class DestinationObjectType
Parameters:
handler -  

unmarshal

public static EventDestination unmarshal(java.io.Reader reader)
                                  throws org.exolab.castor.xml.MarshalException,
                                         org.exolab.castor.xml.ValidationException
Parameters:
reader -  

validate

public void validate()
              throws org.exolab.castor.xml.ValidationException
Overrides:
validate in class DestinationObjectType