Module org.eclipse.persistence.core
Class FieldTransformerNodeValue
java.lang.Object
org.eclipse.persistence.internal.oxm.NodeValue
org.eclipse.persistence.internal.oxm.FieldTransformerNodeValue
INTERNAL:
Purpose: This is how the Field Transformer is handled when used with the TreeObjectBuilder. Field Transformers are used with the XML Transformation Mapping.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
attribute
(UnmarshalRecord unmarshalRecord, String namespaceURI, String localName, String value) INTERNAL:void
endElement
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord) INTERNAL:boolean
marshal
(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver) INTERNAL:boolean
marshal
(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext) INTERNAL: Override this method if the NodeValue is applicable to sequenced objects.boolean
marshalSingleValue
(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object value, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext) INTERNAL: This method provides an optimization in cases where the value has already been calculated.void
setFieldTransformer
(CoreFieldTransformer fieldTransformer) void
setXMLField
(Field xmlField) Methods inherited from class org.eclipse.persistence.internal.oxm.NodeValue
buildSelfRecord, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMappingNodeValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isMixedContentNodeValue, isNullCapableValue, isOwningNode, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNode, startElement
-
Constructor Details
-
FieldTransformerNodeValue
-
-
Method Details
-
getFieldTransformer
-
setFieldTransformer
-
getXMLField
-
setXMLField
-
marshal
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver) Description copied from class:NodeValue
INTERNAL: -
marshal
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext) Description copied from class:NodeValue
INTERNAL: Override this method if the NodeValue is applicable to sequenced objects. -
marshalSingleValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object value, 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
-
attribute
public void attribute(UnmarshalRecord unmarshalRecord, String namespaceURI, String localName, String value) Description copied from class:NodeValue
INTERNAL: -
endElement
Description copied from class:NodeValue
INTERNAL:- Overrides:
endElement
in classNodeValue
-