public interface ResourceProcessor
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getContentType()
Returns the content type the processor handles.
|
void |
index(Resource resource,
IntrospectionContext context)
Indexes the resource.
|
void |
process(Resource resource,
IntrospectionContext context)
Loads the the Resource.
|
java.lang.String getContentType()
void index(Resource resource, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
resource - the resource to indexcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error occurs during indexingvoid process(Resource resource, IntrospectionContext context) throws org.fabric3.api.host.Fabric3Exception
resource - the resource to processcontext - the context to which validation errors and warnings are reportedorg.fabric3.api.host.Fabric3Exception - if an error processing the contribution occurs