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(XMLAnyObjectMapping xmlAnyObjectMapping) |
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(XPathFragment xPathFragment,
UnmarshalRecord unmarshalRecord)
INTERNAL:
|
XMLAnyObjectMapping |
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,
AbstractSession session,
NamespaceResolver namespaceResolver)
INTERNAL:
|
boolean |
marshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
AbstractSession 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,
AbstractSession 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(XMLAnyObjectMapping xmlAnyObjectMapping)
public boolean isOwningNode(XPathFragment xPathFragment)
NodeValueisOwningNode in class NodeValuepublic boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, AbstractSession session, NamespaceResolver namespaceResolver)
NodeValuepublic boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, AbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValuepublic boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.Object objectValue, AbstractSession 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 XMLAnyObjectMapping getMapping()
MappingNodeValuegetMapping in class MappingNodeValuepublic boolean isWhitespaceAware()
isWhitespaceAware in class NodeValuepublic boolean isAnyMappingNodeValue()
isAnyMappingNodeValue in class NodeValuepublic boolean isMixedContentNodeValue()
NodeValueisMixedContentNodeValue in class NodeValueEclipseLink 2.4.2, "build v20130514-5956486" API Reference