public class ChoiceUnmarshalContext extends java.lang.Object implements UnmarshalContext
| Constructor and Description |
|---|
ChoiceUnmarshalContext(UnmarshalContext unmarshalContext,
XMLConverterMapping converter) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeValue(UnmarshalRecord unmarshalRecord,
ContainerValue containerValue,
java.lang.Object value)
When a collection mapping is processed the UnmarshalContext is responsible for
handling the values one at a time.
|
void |
addAttributeValue(UnmarshalRecord unmarshalRecord,
ContainerValue containerValue,
java.lang.Object value,
java.lang.Object collection)
When a collection mapping is processed the UnmarshalContext is responsible for
handling the values one at a time.
|
void |
characters(UnmarshalRecord unmarshalRecord)
An event indicating that characters has been called on the unmarshalRecord.
|
void |
endElement(UnmarshalRecord unmarshalRecord)
An event indicating that endElement has been called on the unmarshalRecord.
|
void |
reference(Reference reference) |
void |
setAttributeValue(UnmarshalRecord unmarshalRecord,
java.lang.Object value,
Mapping mapping)
The UnmarshalContext is responsible for assigning values to the object being
built.
|
void |
startElement(UnmarshalRecord unmarshalRecord)
An event indicating that startElement has been called on the unmarshalRecord.
|
void |
unmappedContent(UnmarshalRecord unmarshalRecord)
This method is called when unmapped content (XML content that does not correspond to
any specified mapping, policy, etc.) is encountered during the unmarshal process.
|
public ChoiceUnmarshalContext(UnmarshalContext unmarshalContext, XMLConverterMapping converter)
public void addAttributeValue(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value)
UnmarshalContextaddAttributeValue in interface UnmarshalContextcontainerValue - A container object such as a java.util.ArrayList, to which
the value will be added.value - The value to be added to the container,public void addAttributeValue(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value, java.lang.Object collection)
UnmarshalContextaddAttributeValue in interface UnmarshalContextcontainerValue - A container object such as a java.util.ArrayList, to which
the value will be added.value - The value to be added to the container,public void characters(UnmarshalRecord unmarshalRecord)
UnmarshalContextcharacters in interface UnmarshalContextunmarshalRecord - The UnmarshalRecord that received the characters call.public void endElement(UnmarshalRecord unmarshalRecord)
UnmarshalContextendElement in interface UnmarshalContextunmarshalRecord - The UnmarshalRecord that received the endElement call.public void reference(Reference reference)
reference in interface UnmarshalContextpublic void setAttributeValue(UnmarshalRecord unmarshalRecord, java.lang.Object value, Mapping mapping)
UnmarshalContextsetAttributeValue in interface UnmarshalContextpublic void startElement(UnmarshalRecord unmarshalRecord)
UnmarshalContextstartElement in interface UnmarshalContextunmarshalRecord - The UnmarshalRecord that received the startElement call.public void unmappedContent(UnmarshalRecord unmarshalRecord)
UnmarshalContextunmappedContent in interface UnmarshalContextunmarshalRecord - The UnmarshalRecord that encountered the unmapped content .EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference