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
public abstract class XMLRelationshipMappingNodeValue extends MappingNodeValue
-
-
Constructor Summary
Constructors Constructor Description XMLRelationshipMappingNodeValue()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
addTypeAttribute(Descriptor descriptor, MarshalRecord marshalRecord, String schemaContext)
protected void
endElementProcessText(UnmarshalRecord unmarshalRecord, XMLConverterMapping converter, XPathFragment xPathFragment, Object collection)
protected Descriptor
findReferenceDescriptor(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Mapping mapping, UnmarshalKeepAsElementPolicy policy)
protected Class
getClassForQName(QName qname, ConversionManager conversionManager)
void
processChild(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, Attributes atts, Descriptor xmlDescriptor, Mapping mapping)
protected abstract void
setOrAddAttributeValue(UnmarshalRecord unmarshalRecord, Object value, XPathFragment xPathFragment, Object collection)
protected void
setOrAddAttributeValueForKeepAsElement(SAXFragmentBuilder builder, Mapping mapping, XMLConverterMapping converter, UnmarshalRecord unmarshalRecord, boolean isCollection, Object collection)
protected void
setupHandlerForKeepAsElementPolicy(UnmarshalRecord unmarshalRecord, XPathFragment xPathFragment, Attributes atts)
protected void
writeExtraNamespaces(List extraNamespaces, XMLRecord xmlRecord, CoreAbstractSession session)
-
Methods inherited from class org.eclipse.persistence.internal.oxm.MappingNodeValue
addTypeAttribute, getMapping, isMappingNodeValue, updateNamespaces
-
Methods 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
-
-
-
-
Method Detail
-
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
protected Class getClassForQName(QName qname, ConversionManager conversionManager)
-
setOrAddAttributeValue
protected abstract void setOrAddAttributeValue(UnmarshalRecord unmarshalRecord, Object value, XPathFragment xPathFragment, Object collection)
-
-