Top Description Fields Constructors Methods
org.glassfish.jaxb.runtime.v2.runtime.property

pack-priv final Class ArrayElementLeafProperty<BeanT, ListT, ItemT>

extends ArrayElementProperty<BeanT, ListT, ItemT>
Class Inheritance
Imports
org.glassfish.jaxb.runtime.api.AccessorException, org.glassfish.jaxb.runtime.v2.model.runtime.RuntimeElementPropertyInfo, org.glassfish.jaxb.runtime.v2.runtime.JAXBContextImpl, .JaxBeanInfo, .Transducer, .XMLSerializer, org.xml.sax.SAXException, javax.xml.stream.XMLStreamException, java.io.IOException

ArrayProperty that contains only one leaf type.

This class is optimized for the case where there's only one kind of types in the array and that type is a leaf type.

Author
Kohsuke Kawaguchi ([email protected])

Field Summary

Modifier and TypeField and Description
private final Transducer<ItemT>
Inherited from org.glassfish.jaxb.runtime.v2.runtime.property.ArrayElementProperty:
prop

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
serializeItem(JaxBeanInfo<BeanT> bi, ItemT item, XMLSerializer w)

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.property.ArrayElementProperty.serializeItem.

Serializes one item of the property.

Inherited from org.glassfish.jaxb.runtime.v2.runtime.property.ArrayElementProperty:
createBodyUnmarshallergetElementPropertyAccessorgetKindserializeListBodywrapUp

Field Detail

xducerback to summary
private final Transducer<ItemT> xducer

Constructor Detail

ArrayElementLeafPropertyback to summary
public ArrayElementLeafProperty(JAXBContextImpl p, RuntimeElementPropertyInfo prop)

Method Detail

serializeItemback to summary
public void serializeItem(JaxBeanInfo<BeanT> bi, ItemT item, XMLSerializer w) throws SAXException, AccessorException, IOException, XMLStreamException

Implements abstract org.glassfish.jaxb.runtime.v2.runtime.property.ArrayElementProperty.serializeItem.

Doc from org.glassfish.jaxb.runtime.v2.runtime.property.ArrayElementProperty.serializeItem.

Serializes one item of the property.

Annotations
@Override