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
public abstract class XMLVariableXPathMappingNodeValue extends XMLRelationshipMappingNodeValue
-
-
Constructor Summary
Constructors Constructor Description XMLVariableXPathMappingNodeValue()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
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
getMapping()
Return the mapping associated with this node value.boolean
isMixedContentNodeValue()
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
-
-
-
-
Method Detail
-
isOwningNode
public boolean isOwningNode(XPathFragment xPathFragment)
INTERNAL:- Overrides:
isOwningNode
in classNodeValue
- Parameters:
xPathFragment
-- Returns:
-
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
- Returns:
-
endElement
public void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
Description copied from class:NodeValue
INTERNAL:- Overrides:
endElement
in classNodeValue
-
getMapping
public abstract VariableXPathObjectMapping getMapping()
Description copied from class:MappingNodeValue
Return the mapping associated with this node value.- Specified by:
getMapping
in classMappingNodeValue
-
startElement
public boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts)
Description copied from class:NodeValue
INTERNAL:- Overrides:
startElement
in classNodeValue
- Returns:
-
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
- Returns:
-
-