NetKernel APIs


org.ten60.netkernel.xml.transrepresentation
Class DOMXDASerializer

java.lang.Object
  extended byorg.ten60.netkernel.layer1.transrepresentation.SimpleTransreptorImpl
      extended byorg.ten60.netkernel.xml.transrepresentation.DOMXDASerializer
All Implemented Interfaces:
ITransrepresentor, IURComponent

public class DOMXDASerializer
extends SimpleTransreptorImpl

Serialise DOM to a binary stream


Constructor Summary
DOMXDASerializer()
           
 
Method Summary
 boolean supports(IURRepresentation aFrom, Class aTo)
          Returns true if the given representation can be transrepresented using this transreptor to the given interface
 IURRepresentation transrepresent(IURRepresentation aFrom)
          Transrepresent the given Representation
 
Methods inherited from class org.ten60.netkernel.layer1.transrepresentation.SimpleTransreptorImpl
destroy, getModule, initialise, transrepresent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMXDASerializer

public DOMXDASerializer()
Method Detail

supports

public boolean supports(IURRepresentation aFrom,
                        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

public IURRepresentation transrepresent(IURRepresentation aFrom)
                                 throws NetKernelException
Description copied from class: SimpleTransreptorImpl
Transrepresent the given Representation

Specified by:
transrepresent in class SimpleTransreptorImpl
Parameters:
aFrom - the representation to transrepresent
Returns:
a transrepresented representation
Throws:
NetKernelException - throw if the transrepresentation fails for any reason

NetKernel APIs


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