org.jvnet.hyperjaxb3.xml.bind.annotation.adapters
Class ElementAsString
java.lang.Object
javax.xml.bind.annotation.adapters.XmlAdapter<Element,String>
org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.ElementAsString
public class ElementAsString
- extends XmlAdapter<Element,String>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementAsString
public ElementAsString()
marshal
public Element marshal(String element)
throws Exception
- Specified by:
marshal in class XmlAdapter<Element,String>
- Throws:
Exception
unmarshal
public String unmarshal(Element element)
throws Exception
- Specified by:
unmarshal in class XmlAdapter<Element,String>
- Throws:
Exception
Copyright © 2005-2014. All Rights Reserved.