public class NillableNodeValue extends NodeValue
Purpose: This is how the Nillable Node Null Policy is handled when used with the TreeObjectBuilder.
Constructor and Description |
---|
NillableNodeValue(NullCapableValue aNullCapableValue) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(UnmarshalRecord unmarshalRecord,
java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String value)
INTERNAL:
|
boolean |
isOwningNode(XPathFragment xPathFragment)
INTERNAL:
|
boolean |
marshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
AbstractSession session,
NamespaceResolver namespaceResolver)
INTERNAL:
|
boolean |
marshalSingleValue(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
java.lang.Object objectValue,
AbstractSession session,
NamespaceResolver namespaceResolver,
MarshalContext marshalContext)
INTERNAL:
This method provides an optimization in cases where the value has already
been calculated.
|
buildSelfRecord, endElement, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMappingNodeValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isMixedContentNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNode, startElement
public NillableNodeValue(NullCapableValue aNullCapableValue)
public boolean isOwningNode(XPathFragment xPathFragment)
NodeValue
isOwningNode
in class NodeValue
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, AbstractSession session, NamespaceResolver namespaceResolver)
NodeValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.Object objectValue, AbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValue
marshalSingleValue
in class NodeValue
public void attribute(UnmarshalRecord unmarshalRecord, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
NodeValue
EclipseLink 2.4.2, "build v20130514-5956486" API Reference