Property implementation for multi-value property that maps to an element.
| Modifier and Type | Field and Description |
|---|---|
| private final Name | nillableTagName
Tag name used when we see null in the collection. |
| protected RuntimeElementPropertyInfo | |
| private Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| protected |
| nillableTagName | back to summary |
|---|---|
| private final Name nillableTagName Tag name used when we see null in the collection. Can be null. | |
| prop | back to summary |
|---|---|
| protected RuntimeElementPropertyInfo prop Set by the constructor and reset in the | |
| refs | back to summary |
|---|---|
| private Map<TypeRef<Type, Class<T>>, JaxBeanInfo<BeanT>> refs Set by the constructor and reset in the | |
| typeMap | back to summary |
|---|---|
| private final Map<Class<T>, TagAndType> typeMap | |
| ArrayElementProperty | back to summary |
|---|---|
| protected ArrayElementProperty(JAXBContextImpl grammar, RuntimeElementPropertyInfo prop) | |
| createBodyUnmarshaller | back to summary |
|---|---|
| public void createBodyUnmarshaller(UnmarshallerChain chain, QNameMap<ChildLoader> loaders) Implements abstract org. Doc from org. Creates the unmarshaler to unmarshal the body.
| |
| createItemUnmarshaller | back to summary |
|---|---|
| private Loader createItemUnmarshaller(UnmarshallerChain chain, RuntimeTypeRef typeRef) Creates a loader handler that unmarshals the body of the item.
This will be sandwiched into
When unmarshalling the body of item, the Pack of | |
| getElementPropertyAccessor | back to summary |
|---|---|
| public Accessor Overrides org. Implements org. Doc from org. If this property is mapped to the specified element, return an accessor to it.
| |
| getKind | back to summary |
|---|---|
| public final PropertyKind getKind() Implements org. Doc from org. Gets the Kind of property
| |
| serializeItem | back to summary |
|---|---|
| protected abstract void serializeItem(JaxBeanInfo<BeanT> expected, ItemT item, XMLSerializer w) throws SAXException, AccessorException, IOException, XMLStreamException Serializes one item of the property. | |
| serializeListBody | back to summary |
|---|---|
| protected void serializeListBody(BeanT beanT, XMLSerializer w, ListT list) throws IOException, XMLStreamException, SAXException, AccessorException Implements abstract org. Doc from org. Serializes the items of the list. This method is invoked after the necessary wrapper tag is produced (if necessary.)
| |
| wrapUp | back to summary |
|---|---|
| public void wrapUp() Overrides org. Implements org. Doc from org. Called at the end of the
| |