org.apache.muse.ws.resource.sg.impl
Class AddRequest

java.lang.Object
  extended by org.apache.muse.ws.resource.sg.impl.AddRequest
All Implemented Interfaces:
XmlSerializable

public class AddRequest
extends Object
implements XmlSerializable

AddRequest is a serializer/deserializer for the WS-ServiceGroup Add operation's request content.

Author:
Dan Jemiolo (danj)

Constructor Summary
AddRequest(Element xml)
           
AddRequest(EndpointReference memberEPR, Date termination)
           
AddRequest(EndpointReference memberEPR, Date termination, Element content)
           
 
Method Summary
 Element getContent()
           
 EndpointReference getMemberEPR()
           
 Date getTerminationTime()
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document factory)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddRequest

public AddRequest(Element xml)
           throws InvalidMessageFormatFault
Throws:
InvalidMessageFormatFault

AddRequest

public AddRequest(EndpointReference memberEPR,
                  Date termination)

AddRequest

public AddRequest(EndpointReference memberEPR,
                  Date termination,
                  Element content)
Method Detail

getContent

public Element getContent()

getMemberEPR

public EndpointReference getMemberEPR()

getTerminationTime

public Date getTerminationTime()

toXML

public Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Returns:
An XML representation of this object.

toXML

public Element toXML(Document factory)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Parameters:
factory - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.