com.tarantella.tta.webservices.parser
Class DefaultResponseFactory

java.lang.Object
  extended by com.tarantella.tta.webservices.parser.DefaultResponseFactory
All Implemented Interfaces:
IResponseFactory, java.io.Serializable

public class DefaultResponseFactory
extends java.lang.Object
implements IResponseFactory, java.io.Serializable

Default factory for creating IResponse nodes.

See Also:
Serialized Form

Constructor Summary
DefaultResponseFactory()
           
 
Method Summary
static IResponseFactory newInstance()
           
 IResponse newResponseObject(java.lang.String nodeName, java.util.Hashtable attributes)
          Creates a new node.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultResponseFactory

public DefaultResponseFactory()
Method Detail

newInstance

public static IResponseFactory newInstance()

newResponseObject

public IResponse newResponseObject(java.lang.String nodeName,
                                   java.util.Hashtable attributes)
Description copied from interface: IResponseFactory
Creates a new node.

Specified by:
newResponseObject in interface IResponseFactory
Parameters:
nodeName - The name of the node.
attributes - Initial attributes.
Returns:
An object implementing the IResponse interface.