Class CollectionGroupingElementNodeValue
- java.lang.Object
-
- org.eclipse.persistence.internal.oxm.NodeValue
-
- org.eclipse.persistence.internal.oxm.CollectionGroupingElementNodeValue
-
public class CollectionGroupingElementNodeValue extends NodeValue
INTERNAL:Purpose: Handles grouping elements for Collections when used with the TreeObjectBuilder.
-
-
Constructor Summary
Constructors Constructor Description CollectionGroupingElementNodeValue(ContainerValue c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
INTERNAL:void
endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Object collection)
boolean
isMarshalNodeValue()
boolean
isOwningNode(XPathFragment xPathFragment)
INTERNAL:boolean
isWrapperNodeValue()
boolean
marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver)
INTERNAL:boolean
marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object objectValue, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
INTERNAL: This method provides an optimization in cases where the value has already been calculated.-
Methods inherited from class org.eclipse.persistence.internal.oxm.NodeValue
attribute, buildSelfRecord, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMappingNodeValue, isMarshalOnlyNodeValue, isMixedContentNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWhitespaceAware, marshal, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNode, startElement
-
-
-
-
Constructor Detail
-
CollectionGroupingElementNodeValue
public CollectionGroupingElementNodeValue(ContainerValue c)
-
-
Method Detail
-
isOwningNode
public boolean isOwningNode(XPathFragment xPathFragment)
Description copied from class:NodeValue
INTERNAL:- Overrides:
isOwningNode
in classNodeValue
- Returns:
-
isMarshalNodeValue
public boolean isMarshalNodeValue()
- Overrides:
isMarshalNodeValue
in classNodeValue
-
isWrapperNodeValue
public boolean isWrapperNodeValue()
- Overrides:
isWrapperNodeValue
in classNodeValue
-
endElement
public void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
Description copied from class:NodeValue
INTERNAL:- Overrides:
endElement
in classNodeValue
-
endElement
public void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Object collection)
- Overrides:
endElement
in classNodeValue
-
marshal
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver)
Description copied from class:NodeValue
INTERNAL:
-
marshalSingleValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object objectValue, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
Description copied from class:NodeValue
INTERNAL: This method provides an optimization in cases where the value has already been calculated.- Specified by:
marshalSingleValue
in classNodeValue
- Returns:
-
-