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

Class ArrayElementProperty<BeanT,ListT,ItemT>

abstract class ArrayElementProperty<BeanT,ListT,ItemT> extends ArrayERProperty<BeanT,ListT,ItemT>

Property implementation for multi-value property that maps to an element.
Field Summary
protected RuntimeElementPropertyInfoprop
Set by the constructor and reset in the wrapUp method.
Constructor Summary
protected ArrayElementProperty(JAXBContextImpl grammar, RuntimeElementPropertyInfo prop)
Method Summary
voidcreateBodyUnmarshaller(UnmarshallerChain chain, QNameMap<ChildLoader> loaders)
AccessorgetElementPropertyAccessor(String nsUri, String localName)
PropertyKindgetKind()
protected abstract voidserializeItem(JaxBeanInfo expected, ItemT item, XMLSerializer w)
Serializes one item of the property.
protected voidserializeListBody(BeanT beanT, XMLSerializer w, ListT list)
voidwrapUp()

Field Detail

prop

protected RuntimeElementPropertyInfo prop
Set by the constructor and reset in the wrapUp method.

Constructor Detail

ArrayElementProperty

protected ArrayElementProperty(JAXBContextImpl grammar, RuntimeElementPropertyInfo prop)

Method Detail

createBodyUnmarshaller

public void createBodyUnmarshaller(UnmarshallerChain chain, QNameMap<ChildLoader> loaders)

getElementPropertyAccessor

public Accessor getElementPropertyAccessor(String nsUri, String localName)

getKind

public final PropertyKind getKind()

serializeItem

protected abstract void serializeItem(JaxBeanInfo expected, ItemT item, XMLSerializer w)
Serializes one item of the property.

serializeListBody

protected void serializeListBody(BeanT beanT, XMLSerializer w, ListT list)

wrapUp

void wrapUp()