org.jvnet.hyperjaxb3.xml.bind.annotation.adapters
Class ElementAsString

java.lang.Object
  extended by javax.xml.bind.annotation.adapters.XmlAdapter<Element,String>
      extended by org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString

public class ElementAsString
extends javax.xml.bind.annotation.adapters.XmlAdapter<Element,String>


Constructor Summary
ElementAsString()
           
 
Method Summary
 Element marshal(String element)
           
 String unmarshal(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementAsString

public ElementAsString()
Method Detail

marshal

public Element marshal(String element)
                throws Exception
Specified by:
marshal in class javax.xml.bind.annotation.adapters.XmlAdapter<Element,String>
Throws:
Exception

unmarshal

public String unmarshal(Element element)
                 throws Exception
Specified by:
unmarshal in class javax.xml.bind.annotation.adapters.XmlAdapter<Element,String>
Throws:
Exception


Copyright © 2005-2011. All Rights Reserved.