com.sun.xml.bind.v2.runtime.property

Class ValueProperty<BeanT>

public final class ValueProperty<BeanT> extends PropertyImpl<BeanT>

Property implementation for XmlValue properties.

This one works for both leaves and nodes, scalars and arrays.

Constructor Summary
ValueProperty(JAXBContextImpl context, RuntimeValuePropertyInfo prop)
Method Summary
voidbuildChildElementUnmarshallers(UnmarshallerChain chainElem, QNameMap<ChildLoader> handlers)
StringgetIdValue(BeanT bean)
PropertyKindgetKind()
booleanhasSerializeURIAction()
voidreset(BeanT o)
voidserializeBody(BeanT o, XMLSerializer w, Object outerPeer)
voidserializeURIs(BeanT o, XMLSerializer w)

Constructor Detail

ValueProperty

public ValueProperty(JAXBContextImpl context, RuntimeValuePropertyInfo prop)

Method Detail

buildChildElementUnmarshallers

public void buildChildElementUnmarshallers(UnmarshallerChain chainElem, QNameMap<ChildLoader> handlers)

getIdValue

public String getIdValue(BeanT bean)

getKind

public PropertyKind getKind()

hasSerializeURIAction

public boolean hasSerializeURIAction()

reset

public void reset(BeanT o)

serializeBody

public final void serializeBody(BeanT o, XMLSerializer w, Object outerPeer)

serializeURIs

public void serializeURIs(BeanT o, XMLSerializer w)