Package com.lyncode.xoai.util
Class MarshallingUtils
- java.lang.Object
-
- com.lyncode.xoai.util.MarshallingUtils
-
public class MarshallingUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description MarshallingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringmarshalWithoutXMLHeader(XOAIDescription xml)static StringmarshalWithoutXMLHeader(String cont, Object obj, PrefixMapper mapper)static voidmarshalWithoutXMLHeader(String cont, Object obj, PrefixMapper mapper, OutputStream out)static voidwriteMetadata(OutputStream out, Metadata meta)
-
-
-
Method Detail
-
marshalWithoutXMLHeader
public static String marshalWithoutXMLHeader(String cont, Object obj, PrefixMapper mapper) throws MarshallingException
- Throws:
MarshallingException
-
marshalWithoutXMLHeader
public static void marshalWithoutXMLHeader(String cont, Object obj, PrefixMapper mapper, OutputStream out) throws MarshallingException
- Throws:
MarshallingException
-
marshalWithoutXMLHeader
public static String marshalWithoutXMLHeader(XOAIDescription xml) throws MarshallingException
- Throws:
MarshallingException
-
writeMetadata
public static void writeMetadata(OutputStream out, Metadata meta) throws MetadataBindException
- Throws:
MetadataBindException
-
-