org.ten60.netkernel.xml.transrepresentation
Class NVPToXMLBinaryStream
java.lang.Object
org.ten60.netkernel.layer1.nkf.impl.NKFTransreptorImpl
org.ten60.netkernel.xml.transrepresentation.NVPToXMLBinaryStream
- All Implemented Interfaces:
- ITransrepresentor, IURComponent
- public class NVPToXMLBinaryStream
- extends NKFTransreptorImpl
Serialize a NVP to an XML binary stream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NVPToXMLBinaryStream
public NVPToXMLBinaryStream()
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 transrepresentaTo
- the interface we want a new aspect to implement
transrepresent
protected void transrepresent(INKFConvenienceHelper context)
throws 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:
Exception
- you can throw any exception you like and it will be mapped
into a NetKernelException
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.