NetKernel APIs


org.ten60.netkernel.xml.transrepresentation
Class XmlObject2DOMXDA

java.lang.Object
  extended by org.ten60.netkernel.layer1.nkf.impl.NKFTransreptorImpl
      extended by org.ten60.netkernel.xml.transrepresentation.XmlObject2DOMXDA
All Implemented Interfaces:
IURComponent, ITransrepresentor

public class XmlObject2DOMXDA
extends NKFTransreptorImpl

Converts a XmlObject to a DOM


Constructor Summary
XmlObject2DOMXDA()
           
 
Method Summary
 boolean supports(IURRepresentation aFrom, java.lang.Class aTo)
          Returns true if the given representation can be transrepresented using this transreptor to the given interface
protected  void transrepresent(INKFConvenienceHelper context)
          Implement this method to provide the resultant representation on the response
 
Methods inherited from class org.ten60.netkernel.layer1.nkf.impl.NKFTransreptorImpl
destroy, getModule, initialise, transrepresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlObject2DOMXDA

public XmlObject2DOMXDA()
Method Detail

supports

public boolean supports(IURRepresentation aFrom,
                        java.lang.Class aTo)
Description copied from interface: ITransrepresentor
Returns true if the given representation can be transrepresented using this transreptor to the given interface

Parameters:
aFrom - the representation to transrepresent
aTo - the interface we want a new aspect to implement

transrepresent

protected void transrepresent(INKFConvenienceHelper context)
                       throws java.lang.Exception
Description copied from class: NKFTransreptorImpl
Implement this method to provide the resultant representation on the response

Specified by:
transrepresent in class NKFTransreptorImpl
Parameters:
context - the full NKF context for the request
Throws:
java.lang.Exception - you can throw any exception you like and it will be mapped into a NetKernelException

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.