public class CollectionMarshaller extends java.lang.Object implements ObjectMarshaller<XML>, NameAwareMarshaller
| Constructor and Description |
|---|
CollectionMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getElementName(java.lang.Object o)
Returns the tag name for the object
|
void |
marshalObject(java.lang.Object object,
XML xml)
Performs the conversion
|
boolean |
supports(java.lang.Object object)
Checks wheter the ObjectMarshaller is able/intended to support the given Object
|
public boolean supports(java.lang.Object object)
ObjectMarshallersupports in interface ObjectMarshaller<XML>object - the object which is about getting convertedtrue if the marshaller can/should perform the marshalling, false otherwisepublic void marshalObject(java.lang.Object object,
XML xml)
throws ConverterException
ObjectMarshallermarshalObject in interface ObjectMarshaller<XML>object - the object which is about getting convertedxml - the Converter to useConverterException - on failurepublic java.lang.String getElementName(java.lang.Object o)
NameAwareMarshallergetElementName in interface NameAwareMarshallero - the object