com.sun.xml.ws.transport.tcp.util
Class WSTCPURI.WSTCPURI2StringJAXBAdapter

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<String,WSTCPURI>
      extended by com.sun.xml.ws.transport.tcp.util.WSTCPURI.WSTCPURI2StringJAXBAdapter
Enclosing class:
WSTCPURI

public static final class WSTCPURI.WSTCPURI2StringJAXBAdapter
extends XmlAdapter<String,WSTCPURI>

Class is used to translate WSTCPURI to String and vice versa This is used in JAXB serialization/deserialization


Constructor Summary
WSTCPURI.WSTCPURI2StringJAXBAdapter()
           
 
Method Summary
 String marshal(WSTCPURI tcpURI)
           
 WSTCPURI unmarshal(String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSTCPURI.WSTCPURI2StringJAXBAdapter

public WSTCPURI.WSTCPURI2StringJAXBAdapter()
Method Detail

marshal

public String marshal(WSTCPURI tcpURI)
               throws Exception
Specified by:
marshal in class XmlAdapter<String,WSTCPURI>
Throws:
Exception

unmarshal

public WSTCPURI unmarshal(String uri)
                   throws Exception
Specified by:
unmarshal in class XmlAdapter<String,WSTCPURI>
Throws:
Exception


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.