Module org.eclipse.persistence.core
Class XMLVariableXPathMappingNodeValue
java.lang.Object
org.eclipse.persistence.internal.oxm.NodeValue
org.eclipse.persistence.internal.oxm.MappingNodeValue
org.eclipse.persistence.internal.oxm.XMLRelationshipMappingNodeValue
org.eclipse.persistence.internal.oxm.XMLVariableXPathMappingNodeValue
- Direct Known Subclasses:
XMLVariableXPathCollectionMappingNodeValue
,XMLVariableXPathObjectMappingNodeValue
-
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:protected Descriptor
findReferenceDescriptor
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) abstract VariableXPathObjectMapping
Return the mapping associated with this node value.boolean
INTERNAL: Return true if this is the node value representing mixed content.boolean
isOwningNode
(XPathFragment xPathFragment) INTERNAL: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
setXPathInObject
(String uri, String localName, Object childObject) boolean
startElement
(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts) INTERNAL:Methods inherited from class org.eclipse.persistence.internal.oxm.XMLRelationshipMappingNodeValue
addTypeAttribute, endElementProcessText, getClassForQName, processChild, setOrAddAttributeValue, setOrAddAttributeValueForKeepAsElement, setupHandlerForKeepAsElementPolicy, writeExtraNamespaces
Methods inherited from class org.eclipse.persistence.internal.oxm.MappingNodeValue
addTypeAttribute, isMappingNodeValue, updateNamespaces
Methods inherited from class org.eclipse.persistence.internal.oxm.NodeValue
buildSelfRecord, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNode
-
Constructor Details
-
XMLVariableXPathMappingNodeValue
public XMLVariableXPathMappingNodeValue()
-
-
Method Details
-
isOwningNode
INTERNAL:- Overrides:
isOwningNode
in classNodeValue
-
findReferenceDescriptor
protected Descriptor findReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) - Overrides:
findReferenceDescriptor
in classXMLRelationshipMappingNodeValue
-
attribute
public void attribute(UnmarshalRecord unmarshalRecord, String namespaceURI, String localName, String value) Description copied from class:NodeValue
INTERNAL: -
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
-
endElement
Description copied from class:NodeValue
INTERNAL:- Overrides:
endElement
in classNodeValue
-
getMapping
Description copied from class:MappingNodeValue
Return the mapping associated with this node value.- Specified by:
getMapping
in classMappingNodeValue
-
setXPathInObject
-
startElement
public boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts) Description copied from class:NodeValue
INTERNAL:- Overrides:
startElement
in classNodeValue
-
isMixedContentNodeValue
public boolean isMixedContentNodeValue()Description copied from class:NodeValue
INTERNAL: Return true if this is the node value representing mixed content.- Overrides:
isMixedContentNodeValue
in classNodeValue
-