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