public class ResourceFactoryImpl extends Object implements ResourceFactory
Modifier and Type | Field and Description |
---|---|
protected Map<String,Dialect> |
dialects |
protected ResourceResolver |
resourceResolver |
protected List<ResourceTypeIdentifier> |
resourceTypeIdentifiers |
Constructor and Description |
---|
ResourceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
CreateResponse |
create(Create body) |
ResourceResolver |
getResourceResolver() |
List<ResourceTypeIdentifier> |
getResourceTypeIdentifiers() |
void |
registerDialect(String uri,
Dialect dialect)
Register Dialect object for URI.
|
void |
setResourceResolver(ResourceResolver resourceResolver) |
void |
setResourceTypeIdentifiers(List<ResourceTypeIdentifier> resourceTypeIdentifiers) |
void |
unregisterDialect(String uri)
Unregister dialect URI.
|
protected ResourceResolver resourceResolver
protected List<ResourceTypeIdentifier> resourceTypeIdentifiers
public CreateResponse create(Create body)
create
in interface ResourceFactory
public ResourceResolver getResourceResolver()
public void setResourceResolver(ResourceResolver resourceResolver)
public List<ResourceTypeIdentifier> getResourceTypeIdentifiers()
public void setResourceTypeIdentifiers(List<ResourceTypeIdentifier> resourceTypeIdentifiers)
public void registerDialect(String uri, Dialect dialect)
uri
- dialect
- public void unregisterDialect(String uri)
uri
- Apache CXF