org.outerj.daisy.frontend.components.daisysource
Class DaisySourceFactory
java.lang.Object
org.outerj.daisy.frontend.components.daisysource.DaisySourceFactory
public class DaisySourceFactory
- extends java.lang.Object
Cocoon source which reads its data from a part in a Daisy document. The format of the
source is the usual daisy link format (which is not really a valid URL given the invalid
use of the @ and : symbols, hope this doesn't give problems). The part type must be
specified by adding an "!" to the URL, follow by the name of the part type,
e.g. daisy://123!ImageData (branch, language and version can of course also be specified).
|
Method Summary |
void |
contextualize(Context context)
|
Source |
getSource(java.lang.String url,
java.util.Map map)
|
void |
release(Source source)
|
void |
service(ServiceManager serviceManager)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAISY_SOURCE_PATTERN
public static final java.util.regex.Pattern DAISY_SOURCE_PATTERN
DaisySourceFactory
public DaisySourceFactory()
contextualize
public void contextualize(Context context)
throws ContextException
- Throws:
ContextException
service
public void service(ServiceManager serviceManager)
throws ServiceException
- Throws:
ServiceException
getSource
public Source getSource(java.lang.String url,
java.util.Map map)
throws java.io.IOException,
java.net.MalformedURLException
- Throws:
java.io.IOException
java.net.MalformedURLException
release
public void release(Source source)
Copyright © -2006 . All Rights Reserved.