public class SerializerFinder extends ResourceFinder
| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_SERIALIZERS_PACKAGE |
DEFAULT_PACKAGE, OFF_OPTION| Constructor and Description |
|---|
SerializerFinder(Config config,
String extension) |
SerializerFinder(String extension) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
defaultResource(String model)
Gets the default resource in case finder can't find an implementation.
|
static String |
getExtension(String contentType)
Returns a extension from a content-type.
|
findByFunction, findByFunctionAndModel, findByModel, findResource, getPrefix, getUtils, makeClassName, makeClassNameprotected static final String DEFAULT_SERIALIZERS_PACKAGE
public SerializerFinder(String extension)
public static String getExtension(String contentType)
contentType - A content-type. Valid content-types are: - application/json -
text/xml - application/octect-streamprotected String defaultResource(String model)
ResourceFinderdefaultResource in class ResourceFindermodel - - Model.Copyright © 2012 ElPaso Software. All Rights Reserved.