public class TransformerManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ID |
static String |
MIME_TYPE |
static String |
SCHEMA |
Constructor and Description |
---|
TransformerManager(List<org.osgi.framework.ServiceReference> serviceReferences) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableIds() |
List<String> |
getAvailableMimeTypes() |
List<String> |
getAvailableProperty(String propertyName) |
List<String> |
getAvailableSchemas() |
protected org.osgi.framework.BundleContext |
getBundleContext() |
List<Map<String,Object>> |
getRelatedTransformerProperties(String property,
String value)
Returns a list of property maps for transformers that match the given property and value
|
<T> T |
getTransformerById(String id) |
<T> T |
getTransformerByMimeType(String mimeType) |
<T> T |
getTransformerByProperty(String property,
String value) |
<T> T |
getTransformerBySchema(String schema) |
String |
getTransformerIdForSchema(String schema) |
String |
getTransformerSchemaForId(String id) |
public static final String MIME_TYPE
public static final String SCHEMA
public static final String ID
public TransformerManager(List<org.osgi.framework.ServiceReference> serviceReferences)
public <T> T getTransformerBySchema(String schema)
public <T> T getTransformerByMimeType(String mimeType)
public <T> T getTransformerById(String id)
public List<Map<String,Object>> getRelatedTransformerProperties(String property, String value)
property
- The transformer property namevalue
- The value of the transformer property to matchprotected org.osgi.framework.BundleContext getBundleContext()
This work is licensed under a Creative Commons Attribution 4.0 International License.