com.sun.xml.bind.v2.runtime.property
Class ArrayElementLeafProperty<BeanT,ListT,ItemT>
java.lang.Object
com.sun.xml.bind.v2.runtime.property.PropertyImpl<BeanT>
com.sun.xml.bind.v2.runtime.property.ArrayProperty<BeanT,ListT,ItemT>
com.sun.xml.bind.v2.runtime.property.ArrayERProperty<BeanT,ListT,ItemT>
com.sun.xml.bind.v2.runtime.property.ArrayElementProperty<BeanT,ListT,ItemT>
com.sun.xml.bind.v2.runtime.property.ArrayElementLeafProperty<BeanT,ListT,ItemT>
- All Implemented Interfaces:
- Property<BeanT>, StructureLoaderBuilder
final class ArrayElementLeafProperty<BeanT,ListT,ItemT>
- extends ArrayElementProperty<BeanT,ListT,ItemT>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayElementLeafProperty
public ArrayElementLeafProperty(JAXBContextImpl p,
RuntimeElementPropertyInfo prop)
serializeItem
public void serializeItem(JaxBeanInfo bi,
ItemT item,
XMLSerializer w)
throws SAXException,
AccessorException,
IOException,
javax.xml.stream.XMLStreamException
- Description copied from class:
ArrayElementProperty
- Serializes one item of the property.
- Specified by:
serializeItem
in class ArrayElementProperty<BeanT,ListT,ItemT>
- Throws:
SAXException
AccessorException
IOException
javax.xml.stream.XMLStreamException