org.apache.muse.ws.resource.lifetime.impl
Class SetTerminationTimeResponse

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

public class SetTerminationTimeResponse
extends Object
implements XmlSerializable

SetTerminationTimeResponse is a serializer/deserializer for the WS-ImmediateTermination SetTerminationTime operation's response content.

Author:
Dan Jemiolo (danj)

Constructor Summary
SetTerminationTimeResponse(Date termination)
           
SetTerminationTimeResponse(Element xml)
           
 
Method Summary
 Date getCurrentTime()
           
 Date getTerminationTime()
           
 String toString()
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document doc)
          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, wait, wait, wait
 

Constructor Detail

SetTerminationTimeResponse

public SetTerminationTimeResponse(Date termination)

SetTerminationTimeResponse

public SetTerminationTimeResponse(Element xml)
                           throws ParseException
Throws:
ParseException
Method Detail

getCurrentTime

public Date getCurrentTime()

getTerminationTime

public Date getTerminationTime()

toString

public String toString()
Overrides:
toString in class Object

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 doc)
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:
doc - 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.