Package com.sun.identity.idsvcs.rest
Class MarshallerFactory
- java.lang.Object
-
- com.sun.identity.idsvcs.rest.MarshallerFactory
-
public class MarshallerFactory extends Object
Determines which marshaller to give based on class/type.
-
-
Field Summary
Fields Modifier and Type Field Description static MarshallerFactoryJSONstatic MarshallerFactoryPROPSstatic MarshallerFactoryXML
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProtocol()MarshallernewInstance(Class type)
-
-
-
Field Detail
-
XML
public static MarshallerFactory XML
-
JSON
public static MarshallerFactory JSON
-
PROPS
public static MarshallerFactory PROPS
-
-
Method Detail
-
newInstance
public Marshaller newInstance(Class type)
-
getProtocol
public String getProtocol()
-
-