MediaWiki markup transformer now generates internal links that work

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8416 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-03-03 14:30:11 +00:00
parent 428e92479a
commit 085c402290
9 changed files with 161 additions and 14 deletions

View File

@@ -24,6 +24,8 @@
*/
package org.alfresco.service.cmr.repository;
import java.util.Map;
import org.alfresco.repo.content.transform.ContentTransformer;
import org.alfresco.service.Auditable;
import org.alfresco.service.PublicService;
@@ -142,6 +144,23 @@ public interface ContentService
public void transform(ContentReader reader, ContentWriter writer)
throws NoTransformerException, ContentIOException;
/**
* @see org.aflresco.service.cmr.repository.ContentService.transform(ContentReader, ContentReader)
*
* A map of transform options can be provided.
*
* @param reader the source content location and mimetype
* @param writer the target content location and mimetype
* @param options the options for the transformation
* @throws NoTransformerException if no transformer exists for the
* given source and target mimetypes of the reader and writer
* @throws ContentIOException if the transformation fails
*/
@Auditable(parameters = {"reader", "writer", "options"})
public void transform(ContentReader reader, ContentWriter writer, Map<String, Object> options)
throws NoTransformerException, ContentIOException;
/**
* Fetch the transformer that is capable of transforming the content in the
* given source mimetype to the given target mimetype.