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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidattribute(UnmarshalRecord unmarshalRecord, String namespaceURI, String localName, String value) INTERNAL:voidendElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord) INTERNAL:protected DescriptorfindReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) abstract VariableXPathObjectMappingReturn the mapping associated with this node value.booleanINTERNAL: Return true if this is the node value representing mixed content.booleanisOwningNode(XPathFragment xPathFragment) INTERNAL:booleanmarshalSingleValue(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.voidsetXPathInObject(String uri, String localName, Object childObject) booleanstartElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts) INTERNAL:Methods inherited from class org.eclipse.persistence.internal.oxm.XMLRelationshipMappingNodeValue
addTypeAttribute, endElementProcessText, getClassForQName, processChild, setOrAddAttributeValue, setOrAddAttributeValueForKeepAsElement, setupHandlerForKeepAsElementPolicy, writeExtraNamespacesMethods inherited from class org.eclipse.persistence.internal.oxm.MappingNodeValue
addTypeAttribute, isMappingNodeValue, updateNamespacesMethods 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:
isOwningNodein classNodeValue
-
findReferenceDescriptor
protected Descriptor findReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) - Overrides:
findReferenceDescriptorin classXMLRelationshipMappingNodeValue
-
attribute
public void attribute(UnmarshalRecord unmarshalRecord, String namespaceURI, String localName, String value) Description copied from class:NodeValueINTERNAL: -
marshalSingleValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, Object object, Object value, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext) Description copied from class:NodeValueINTERNAL: This method provides an optimization in cases where the value has already been calculated.- Specified by:
marshalSingleValuein classNodeValue
-
endElement
Description copied from class:NodeValueINTERNAL:- Overrides:
endElementin classNodeValue
-
getMapping
Description copied from class:MappingNodeValueReturn the mapping associated with this node value.- Specified by:
getMappingin classMappingNodeValue
-
setXPathInObject
-
startElement
public boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts) Description copied from class:NodeValueINTERNAL:- Overrides:
startElementin classNodeValue
-
isMixedContentNodeValue
public boolean isMixedContentNodeValue()Description copied from class:NodeValueINTERNAL: Return true if this is the node value representing mixed content.- Overrides:
isMixedContentNodeValuein classNodeValue
-