public interface UnmarshalContext
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.
|
void startElement(UnmarshalRecord unmarshalRecord)
unmarshalRecord
- The UnmarshalRecord that received the startElement call.void characters(UnmarshalRecord unmarshalRecord)
unmarshalRecord
- The UnmarshalRecord that received the characters call.void endElement(UnmarshalRecord unmarshalRecord)
unmarshalRecord
- The UnmarshalRecord that received the endElement call.void setAttributeValue(UnmarshalRecord unmarshalRecord, java.lang.Object value, Mapping mapping)
unmarshalRecord
- value
- mapping
- void addAttributeValue(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value)
unmarshalRecord
- containerValue
- 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,void addAttributeValue(UnmarshalRecord unmarshalRecord, ContainerValue containerValue, java.lang.Object value, java.lang.Object collection)
unmarshalRecord
- containerValue
- 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,collection
- void reference(Reference reference)
void unmappedContent(UnmarshalRecord unmarshalRecord)
unmarshalRecord
- The UnmarshalRecord that encountered the unmapped content .EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference