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 voidattribute(UnmarshalRecord unmarshalRecord, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)INTERNAL:voidendElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)INTERNAL:protected DescriptorfindReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy)abstract VariableXPathObjectMappinggetMapping()Return the mapping associated with this node value.booleanisMixedContentNodeValue()INTERNAL: Return true if this is the node value representing mixed content.booleanisOwningNode(XPathFragment xPathFragment)INTERNAL:booleanmarshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.Object value, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)INTERNAL: This method provides an optimization in cases where the value has already been calculated.voidsetXPathInObject(java.lang.String uri, java.lang.String localName, java.lang.Object childObject)booleanstartElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.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:
isOwningNodein classNodeValue- Parameters:
xPathFragment-- Returns:
-
findReferenceDescriptor
protected Descriptor findReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy)
- Overrides:
findReferenceDescriptorin classXMLRelationshipMappingNodeValue
-
attribute
public void attribute(UnmarshalRecord unmarshalRecord, java.lang.String namespaceURI, java.lang.String localName, java.lang.String value)
Description copied from class:NodeValueINTERNAL:
-
marshalSingleValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.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- Returns:
-
endElement
public void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
Description copied from class:NodeValueINTERNAL:- Overrides:
endElementin classNodeValue
-
getMapping
public abstract VariableXPathObjectMapping getMapping()
Description copied from class:MappingNodeValueReturn the mapping associated with this node value.- Specified by:
getMappingin classMappingNodeValue
-
setXPathInObject
public void setXPathInObject(java.lang.String uri, java.lang.String localName, java.lang.Object childObject)
-
startElement
public boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.Attributes atts)
Description copied from class:NodeValueINTERNAL:- Overrides:
startElementin classNodeValue- Returns:
-
isMixedContentNodeValue
public boolean isMixedContentNodeValue()
Description copied from class:NodeValueINTERNAL: Return true if this is the node value representing mixed content.- Overrides:
isMixedContentNodeValuein classNodeValue- Returns:
-
-