com.sun.xml.bind.v2.runtime.property
Class ArrayReferenceNodeProperty<BeanT,ListT,ItemT>

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.property.PropertyImpl<BeanT>
      extended by com.sun.xml.bind.v2.runtime.property.ArrayProperty<BeanT,ListT,ItemT>
          extended by com.sun.xml.bind.v2.runtime.property.ArrayERProperty<BeanT,ListT,ItemT>
              extended by com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty<BeanT,ListT,ItemT>
All Implemented Interfaces:
Property<BeanT>, StructureLoaderBuilder

 class ArrayReferenceNodeProperty<BeanT,ListT,ItemT>
extends ArrayERProperty<BeanT,ListT,ItemT>


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.bind.v2.runtime.property.ArrayERProperty
ArrayERProperty.ReceiverImpl
 
Field Summary
 
Fields inherited from class com.sun.xml.bind.v2.runtime.property.ArrayERProperty
isWrapperNillable, wrapperTagName
 
Fields inherited from class com.sun.xml.bind.v2.runtime.property.ArrayProperty
acc, lister
 
Fields inherited from class com.sun.xml.bind.v2.runtime.property.PropertyImpl
fieldName
 
Fields inherited from interface com.sun.xml.bind.v2.runtime.property.StructureLoaderBuilder
CATCH_ALL, TEXT_HANDLER
 
Constructor Summary
ArrayReferenceNodeProperty(JAXBContextImpl p, RuntimeReferencePropertyInfo prop)
           
 
Method Summary
 void createBodyUnmarshaller(UnmarshallerChain chain, QNameMap<ChildLoader> loaders)
          Creates the unmarshaller to unmarshal the body.
 Accessor getElementPropertyAccessor(String nsUri, String localName)
          If this property is mapped to the specified element, return an accessor to it.
 PropertyKind getKind()
          Gets the Kind of property
protected  void serializeListBody(BeanT o, XMLSerializer w, ListT list)
          Serializses the items of the list.
 
Methods inherited from class com.sun.xml.bind.v2.runtime.property.ArrayERProperty
buildChildElementUnmarshallers, serializeBody
 
Methods inherited from class com.sun.xml.bind.v2.runtime.property.ArrayProperty
getIdValue, reset
 
Methods inherited from class com.sun.xml.bind.v2.runtime.property.PropertyImpl
hasSerializeURIAction, serializeURIs, wrapUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArrayReferenceNodeProperty

public ArrayReferenceNodeProperty(JAXBContextImpl p,
                                  RuntimeReferencePropertyInfo prop)
Method Detail

serializeListBody

protected final void serializeListBody(BeanT o,
                                       XMLSerializer w,
                                       ListT list)
                                throws IOException,
                                       javax.xml.stream.XMLStreamException,
                                       SAXException
Description copied from class: ArrayERProperty
Serializses the items of the list. This method is invoked after the necessary wrapper tag is produced (if necessary.)

Specified by:
serializeListBody in class ArrayERProperty<BeanT,ListT,ItemT>
list - always non-null.
Throws:
IOException
javax.xml.stream.XMLStreamException
SAXException

createBodyUnmarshaller

public void createBodyUnmarshaller(UnmarshallerChain chain,
                                   QNameMap<ChildLoader> loaders)
Description copied from class: ArrayERProperty
Creates the unmarshaller to unmarshal the body.

Specified by:
createBodyUnmarshaller in class ArrayERProperty<BeanT,ListT,ItemT>

getKind

public PropertyKind getKind()
Description copied from interface: Property
Gets the Kind of property

Returns:
always non-null.

getElementPropertyAccessor

public Accessor getElementPropertyAccessor(String nsUri,
                                           String localName)
Description copied from interface: Property
If this property is mapped to the specified element, return an accessor to it.

Specified by:
getElementPropertyAccessor in interface Property<BeanT>
Overrides:
getElementPropertyAccessor in class PropertyImpl<BeanT>
Returns:
null if the property is not mapped to the specified element.