Class ViewTimeMarshaller
- java.lang.Object
-
- com.atlassian.confluence.content.render.xhtml.view.time.ViewTimeMarshaller
-
- All Implemented Interfaces:
Marshaller<Time>
public class ViewTimeMarshaller extends Object implements Marshaller<Time>
-
-
Constructor Summary
Constructors Constructor Description ViewTimeMarshaller(XMLOutputFactory xmlOutputFactory, DateFormatService dateFormatService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Streamable
marshal(Time time, ConversionContext conversionContext)
Marshals an object to XML.
-
-
-
Constructor Detail
-
ViewTimeMarshaller
public ViewTimeMarshaller(XMLOutputFactory xmlOutputFactory, DateFormatService dateFormatService)
-
-
Method Detail
-
marshal
public Streamable marshal(Time time, ConversionContext conversionContext) throws XhtmlException
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
-
-