public class XMLAnyObjectMappingNodeValue extends XMLRelationshipMappingNodeValue
Purpose: This is how the XML Any Object Mapping is handled when used with the TreeObjectBuilder.
| Constructor and Description |
|---|
XMLAnyObjectMappingNodeValue(AnyObjectMapping xmlAnyObjectMapping) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(XPathFragment xPathFragment,
UnmarshalRecord unmarshalRecord)
INTERNAL:
|
AnyObjectMapping |
getMapping()
Return the mapping associated with this node value.
|
boolean |
isAnyMappingNodeValue() |
boolean |
isMixedContentNodeValue()
INTERNAL:
Return true if this is the node value representing mixed content.
|
boolean |
isOwningNode(XPathFragment xPathFragment)
INTERNAL:
|
boolean |
isWhitespaceAware() |
boolean |
marshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
CoreAbstractSession session,
NamespaceResolver namespaceResolver)
INTERNAL:
|
boolean |
marshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
CoreAbstractSession session,
NamespaceResolver namespaceResolver,
MarshalContext marshalContext)
INTERNAL:
Override this method if the NodeValue is applicable to sequenced objects.
|
boolean |
marshalSingleValue(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
java.lang.Object objectValue,
CoreAbstractSession session,
NamespaceResolver namespaceResolver,
MarshalContext marshalContext)
INTERNAL:
This method provides an optimization in cases where the value has already
been calculated.
|
boolean |
startElement(XPathFragment xPathFragment,
UnmarshalRecord unmarshalRecord,
org.xml.sax.Attributes atts)
INTERNAL:
|
processChildisMappingNodeValueattribute, buildSelfRecord, endElement, endSelfNodeValue, getXPathNode, isContainerValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWrapperNodeValue, marshal, marshal, marshalSelfAttributes, marshalSingleValue, setXPathNodepublic XMLAnyObjectMappingNodeValue(AnyObjectMapping xmlAnyObjectMapping)
public boolean isOwningNode(XPathFragment xPathFragment)
NodeValueisOwningNode in class NodeValuepublic boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver)
NodeValuepublic boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValuepublic boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.Object objectValue, CoreAbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValuemarshalSingleValue in class NodeValuepublic boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.Attributes atts)
NodeValuestartElement in class NodeValuepublic void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
NodeValueendElement in class NodeValuepublic AnyObjectMapping getMapping()
MappingNodeValuegetMapping in class MappingNodeValuepublic boolean isWhitespaceAware()
isWhitespaceAware in class NodeValuepublic boolean isAnyMappingNodeValue()
isAnyMappingNodeValue in class NodeValuepublic boolean isMixedContentNodeValue()
NodeValueisMixedContentNodeValue in class NodeValueEclipseLink 2.6.3, "build v20160428-59c81c5" API Reference