org.jvnet.hyperjaxb3.xml.bind.annotation.adapters
Class XmlAdapterUtils
java.lang.Object
org.jvnet.hyperjaxb3.xml.bind.annotation.adapters.XmlAdapterUtils
public class XmlAdapterUtils
- extends Object
|
Method Summary |
static
|
asConverter(XmlAdapter<O,I> adapter)
|
static
|
getConverter(Class<? extends XmlAdapter<O,I>> xmlAdapterClass)
|
static
<ValueType,BoundType>
XmlAdapter<ValueType,BoundType> |
|
getXmlAdapter(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass)
|
static
|
isJAXBElement(Class<BoundType> declaredType,
QName name,
Class<?> scope,
Object value)
|
static
<ValueType,BoundType>
ValueType |
|
marshall(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass,
BoundType v)
|
static
|
marshallJAXBElement(Class<? extends XmlAdapter<BoundType,ValueType>> xmlAdapterClass,
Class<BoundType> declaredType,
QName name,
Class<?> scope,
ValueType v)
|
static
|
marshallJAXBElement(Class<BoundType> declaredType,
QName name,
Class<?> scope,
BoundType v)
|
static
<ValueType,BoundType>
BoundType |
|
unmarshall(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass,
ValueType v)
|
static
<ValueType,BoundType>
ValueType |
|
unmarshallJAXBElement(Class<? extends XmlAdapter<BoundType,ValueType>> xmlAdapterClass,
JAXBElement<? extends BoundType> v)
|
static
|
unmarshallJAXBElement(JAXBElement<? extends BoundType> v)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlAdapterUtils
public XmlAdapterUtils()
getConverter
public static <I,O> Converter<I,O> getConverter(Class<? extends XmlAdapter<O,I>> xmlAdapterClass)
asConverter
public static <I,O> Converter<I,O> asConverter(XmlAdapter<O,I> adapter)
marshall
public static <ValueType,BoundType> ValueType marshall(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass,
BoundType v)
unmarshall
public static <ValueType,BoundType> BoundType unmarshall(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass,
ValueType v)
getXmlAdapter
public static <ValueType,BoundType> XmlAdapter<ValueType,BoundType> getXmlAdapter(Class<? extends XmlAdapter<ValueType,BoundType>> xmlAdapterClass)
unmarshallJAXBElement
public static <ValueType,BoundType> ValueType unmarshallJAXBElement(Class<? extends XmlAdapter<BoundType,ValueType>> xmlAdapterClass,
JAXBElement<? extends BoundType> v)
unmarshallJAXBElement
public static <BoundType> BoundType unmarshallJAXBElement(JAXBElement<? extends BoundType> v)
isJAXBElement
public static <BoundType> boolean isJAXBElement(Class<BoundType> declaredType,
QName name,
Class<?> scope,
Object value)
marshallJAXBElement
public static <ValueType,BoundType> JAXBElement<BoundType> marshallJAXBElement(Class<? extends XmlAdapter<BoundType,ValueType>> xmlAdapterClass,
Class<BoundType> declaredType,
QName name,
Class<?> scope,
ValueType v)
marshallJAXBElement
public static <BoundType> JAXBElement<BoundType> marshallJAXBElement(Class<BoundType> declaredType,
QName name,
Class<?> scope,
BoundType v)
Copyright © 2005-2014. All Rights Reserved.