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