Module org.eclipse.persistence.core
Class XMLRelationshipMappingNodeValue
java.lang.Object
org.eclipse.persistence.internal.oxm.NodeValue
org.eclipse.persistence.internal.oxm.MappingNodeValue
org.eclipse.persistence.internal.oxm.XMLRelationshipMappingNodeValue
- Direct Known Subclasses:
XMLAnyCollectionMappingNodeValue,XMLAnyObjectMappingNodeValue,XMLCompositeCollectionMappingNodeValue,XMLCompositeObjectMappingNodeValue,XMLVariableXPathMappingNodeValue
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddTypeAttribute(Descriptor descriptor, MarshalRecord marshalRecord, String schemaContext) protected voidendElementProcessText(UnmarshalRecord unmarshalRecord, XMLConverterMapping converter, XPathFragment xPathFragment, Object collection) protected DescriptorfindReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) protected Class<?> getClassForQName(QName qname, ConversionManager conversionManager) voidprocessChild(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Descriptor xmlDescriptor, Mapping mapping) protected abstract voidsetOrAddAttributeValue(UnmarshalRecord unmarshalRecord, Object value, XPathFragment xPathFragment, Object collection) protected voidsetOrAddAttributeValueForKeepAsElement(SAXFragmentBuilder builder, Mapping mapping, XMLConverterMapping converter, UnmarshalRecord unmarshalRecord, boolean isCollection, Object collection) protected voidsetupHandlerForKeepAsElementPolicy(UnmarshalRecord unmarshalRecord, XPathFragment xPathFragment, Attributes atts) protected voidwriteExtraNamespaces(List extraNamespaces, XMLRecord xmlRecord, CoreAbstractSession session) Methods inherited from class org.eclipse.persistence.internal.oxm.MappingNodeValue
addTypeAttribute, getMapping, isMappingNodeValue, updateNamespacesMethods inherited from class org.eclipse.persistence.internal.oxm.NodeValue
attribute, buildSelfRecord, endElement, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isMixedContentNodeValue, isNullCapableValue, isOwningNode, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshal, marshal, marshalSelfAttributes, marshalSingleValue, marshalSingleValue, setXPathNode, startElement
-
Constructor Details
-
XMLRelationshipMappingNodeValue
public XMLRelationshipMappingNodeValue()
-
-
Method Details
-
processChild
public void processChild(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Descriptor xmlDescriptor, Mapping mapping) throws SAXException - Throws:
SAXException
-
findReferenceDescriptor
protected Descriptor findReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy) -
addTypeAttribute
protected void addTypeAttribute(Descriptor descriptor, MarshalRecord marshalRecord, String schemaContext) -
writeExtraNamespaces
protected void writeExtraNamespaces(List extraNamespaces, XMLRecord xmlRecord, CoreAbstractSession session) -
setupHandlerForKeepAsElementPolicy
protected void setupHandlerForKeepAsElementPolicy(UnmarshalRecord unmarshalRecord, XPathFragment xPathFragment, Attributes atts) -
setOrAddAttributeValueForKeepAsElement
protected void setOrAddAttributeValueForKeepAsElement(SAXFragmentBuilder builder, Mapping mapping, XMLConverterMapping converter, UnmarshalRecord unmarshalRecord, boolean isCollection, Object collection) -
endElementProcessText
protected void endElementProcessText(UnmarshalRecord unmarshalRecord, XMLConverterMapping converter, XPathFragment xPathFragment, Object collection) -
getClassForQName
-
setOrAddAttributeValue
protected abstract void setOrAddAttributeValue(UnmarshalRecord unmarshalRecord, Object value, XPathFragment xPathFragment, Object collection)
-