public class TrailingBlocks extends Object
| Constructor and Description |
|---|
TrailingBlocks() |
TrailingBlocks(ObjectType objectType) |
TrailingBlocks(TypeMapping typeMapping) |
| Modifier and Type | Method and Description |
|---|---|
ObjectType |
getObjectType()
Gets the ObjectType used to read and write the trailing block instances.
|
List<Object> |
readBlocks(MessageReader reader,
Context context)
Reads all remailing elements in the reader and registers them with the SoapRefRegistry in the context.
|
void |
setObjectType(ObjectType objectType)
Sets the ObjectType used to read and write the trailing block instances.
|
List<Object> |
writeBlocks(MessageWriter writer,
Context context)
Writes all of the unmarshalled objects in the MarshalRegistry.
|
public TrailingBlocks()
public TrailingBlocks(TypeMapping typeMapping)
public TrailingBlocks(ObjectType objectType)
public ObjectType getObjectType()
public void setObjectType(ObjectType objectType)
objectType - the ObjectType used to read and write the trailing block instances.public List<Object> readBlocks(MessageReader reader, Context context) throws DatabindingException
reader - the stream to readcontext - the unmarshal contextDatabindingException - if a trailing block element does not contain a soap id attributepublic List<Object> writeBlocks(MessageWriter writer, Context context)
writer - the stream to write the objectscontext - the marshal contextApache CXF