public class XMLChoiceObjectMappingNodeValue extends NodeValue
Purpose: This is how the XML Choice Collection Mapping is handled when used with the TreeObjectBuilder.
Constructor and Description |
---|
XMLChoiceObjectMappingNodeValue(XMLChoiceObjectMapping mapping,
XMLField xmlField) |
Modifier and Type | Method and Description |
---|---|
void |
attribute(UnmarshalRecord unmarshalRecord,
java.lang.String URI,
java.lang.String localName,
java.lang.String value)
The underlying choice element node value will handle attributes.
|
void |
endElement(XPathFragment xPathFragment,
UnmarshalRecord unmarshalRecord)
INTERNAL:
|
void |
initializeNodeValue() |
boolean |
isOwningNode(XPathFragment xPathFragment)
INTERNAL:
|
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 value,
AbstractSession session,
NamespaceResolver namespaceResolver,
MarshalContext marshalContext)
INTERNAL:
This method provides an optimization in cases where the value has already
been calculated.
|
void |
setNullCapableNodeValue(XMLChoiceObjectMappingNodeValue nodeValue) |
void |
setXPathNode(XPathNode xPathNode) |
boolean |
startElement(XPathFragment xPathFragment,
UnmarshalRecord unmarshalRecord,
org.xml.sax.Attributes atts)
INTERNAL:
|
buildSelfRecord, endElement, endSelfNodeValue, getXPathNode, isAnyMappingNodeValue, isContainerValue, isMappingNodeValue, isMarshalNodeValue, isMarshalOnlyNodeValue, isMixedContentNodeValue, isNullCapableValue, isUnmarshalNodeValue, isWhitespaceAware, isWrapperNodeValue, marshal, marshal, marshalSelfAttributes, marshalSingleValue
public XMLChoiceObjectMappingNodeValue(XMLChoiceObjectMapping mapping, XMLField xmlField)
public boolean isOwningNode(XPathFragment xPathFragment)
NodeValue
isOwningNode
in class NodeValue
public void initializeNodeValue()
public void setNullCapableNodeValue(XMLChoiceObjectMappingNodeValue nodeValue)
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, AbstractSession session, NamespaceResolver namespaceResolver)
NodeValue
public boolean marshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, AbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValue
public boolean marshalSingleValue(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, java.lang.Object value, AbstractSession session, NamespaceResolver namespaceResolver, MarshalContext marshalContext)
NodeValue
marshalSingleValue
in class NodeValue
public void endElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord)
NodeValue
endElement
in class NodeValue
public boolean startElement(XPathFragment xPathFragment, UnmarshalRecord unmarshalRecord, org.xml.sax.Attributes atts)
NodeValue
startElement
in class NodeValue
public void setXPathNode(XPathNode xPathNode)
setXPathNode
in class NodeValue
public void attribute(UnmarshalRecord unmarshalRecord, java.lang.String URI, java.lang.String localName, java.lang.String value)
EclipseLink 2.4.2, "build v20130514-5956486" API Reference