Class ViewTimeMarshaller
java.lang.Object
com.atlassian.confluence.content.render.xhtml.view.time.ViewTimeMarshaller
- All Implemented Interfaces:
Marshaller<Time>
-
Constructor Summary
ConstructorsConstructorDescriptionViewTimeMarshaller
(XMLOutputFactory xmlOutputFactory, DateFormatService dateFormatService) -
Method Summary
Modifier and TypeMethodDescriptionmarshal
(Time time, ConversionContext conversionContext) Marshals an object to XML.
-
Constructor Details
-
ViewTimeMarshaller
-
-
Method Details
-
marshal
Description copied from interface:Marshaller
Marshals an object to XML.- Specified by:
marshal
in interfaceMarshaller<Time>
- Parameters:
time
- object to marshalconversionContext
- the conversion context- Returns:
- the XML representation of the object
- Throws:
XhtmlException
- if an error occurs during marshalling
-