public class XMLVariableXPathCollectionMappingNodeValue extends XMLVariableXPathMappingNodeValue implements ContainerValue
| Constructor and Description |
|---|
XMLVariableXPathCollectionMappingNodeValue(VariableXPathCollectionMapping variableXPathCollectionMapping) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getContainerInstance() |
CoreContainerPolicy |
getContainerPolicy() |
int |
getIndex()
INTERNAL:
Used to track the index of the corresponding containerInstance in the containerInstances Object[] on UnmarshalRecord
|
VariableXPathCollectionMapping |
getMapping()
Return the mapping associated with this node value.
|
boolean |
getReuseContainer()
Return true if the original container on the object should be used if
present.
|
boolean |
isContainerValue()
INTERNAL:
|
boolean |
isDefaultEmptyContainer()
INTERNAL
Return true if an empty container should be set on the object if there
is no presence of the collection in the XML document.
|
boolean |
isMixedContentNodeValue()
INTERNAL:
Return true if this is the node value representing mixed content.
|
boolean |
isWrapperAllowedAsCollectionName()
For media types that provide a native representation of collections (such
as JSON arrays), can the representation be simplified so that the
grouping element can be used as the collection name.
|
boolean |
marshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
CoreAbstractSession session,
NamespaceResolver namespaceResolver)
INTERNAL:
|
void |
setContainerInstance(java.lang.Object object,
java.lang.Object containerInstance) |
void |
setIndex(int index)
INTERNAL:
Set to track the index of the corresponding containerInstance in the containerInstances Object[] on UnmarshalRecord
Set during TreeObjectBuilder initialization
|
attribute, endElement, isOwningNode, marshalSingleValue, setXPathInObject, startElementprocessChildisMappingNodeValuebuildSelfRecord, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNodeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarshalSingleValuepublic XMLVariableXPathCollectionMappingNodeValue(VariableXPathCollectionMapping variableXPathCollectionMapping)
public VariableXPathCollectionMapping getMapping()
MappingNodeValuegetMapping in interface ContainerValuegetMapping in class XMLVariableXPathMappingNodeValuepublic boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver)
NodeValuepublic java.lang.Object getContainerInstance()
getContainerInstance in interface ContainerValuepublic void setContainerInstance(java.lang.Object object,
java.lang.Object containerInstance)
setContainerInstance in interface ContainerValuepublic CoreContainerPolicy getContainerPolicy()
getContainerPolicy in interface ContainerValuepublic boolean isContainerValue()
NodeValueisContainerValue in class NodeValueContainerValuepublic boolean getReuseContainer()
ContainerValuegetReuseContainer in interface ContainerValuepublic int getIndex()
ContainerValuegetIndex in interface ContainerValuepublic boolean isDefaultEmptyContainer()
ContainerValueisDefaultEmptyContainer in interface ContainerValuepublic boolean isWrapperAllowedAsCollectionName()
ContainerValueisWrapperAllowedAsCollectionName in interface ContainerValuepublic void setIndex(int index)
ContainerValuesetIndex in interface ContainerValuepublic boolean isMixedContentNodeValue()
NodeValueisMixedContentNodeValue in class XMLVariableXPathMappingNodeValueEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference