|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.converters.marshaller.xml.DateMarshaller
public class DateMarshaller
| Constructor Summary | |
|---|---|
DateMarshaller()
Default constructor. |
|
DateMarshaller(Format formatter)
Constructor with a custom formatter. |
|
| Method Summary | |
|---|---|
void |
marshalObject(Object object,
XML xml)
Performs the conversion |
boolean |
supports(Object object)
Checks wheter the ObjectMarshaller is able/intended to support the given Object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DateMarshaller(Format formatter)
formatter - the formatterpublic DateMarshaller()
| Method Detail |
|---|
public boolean supports(Object object)
ObjectMarshaller
supports in interface ObjectMarshaller<XML>object - the object which is about getting converted
true if the marshaller can/should perform the marshalling, false otherwise
public void marshalObject(Object object,
XML xml)
throws ConverterException
ObjectMarshaller
marshalObject in interface ObjectMarshaller<XML>object - the object which is about getting convertedxml - the Converter to use
ConverterException - on failure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||