My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.concordion.api.extension;

/**
* Supplements Concordion behaviour by adding new commands, listeners or output enhancements.
* <p>
* To use extensions, set the system property <code>concordion.extensions</code> to a comma-separated list containing:
* <ul>
* <li>the fully-qualified class name of extensions to be installed, and/or</li>
* <li>the fully-qualified class name of extension factories that will create an extension.</li>
* </ul>
* <p>
* If an extension is specified, it will be instantiated by Concordion.
* <p>
* All extensions and/or extension factories must be present on the classpath.
* Extensions must implement {@link ConcordionExtension}.
* Extension factories must implement {@link ConcordionExtensionFactory}.
*/
public interface ConcordionExtension {
void addTo(ConcordionExtender concordionExtender);
}

Change log

r325 by nigel.charman.nz on Oct 10, 2010   Diff
Added ConcordionExtensionFactory mechanism
to allow extensions to be customised.
Go to: 
Project members, sign in to write a code review

Older revisions

r321 by nigel.charman.nz on Oct 6, 2010   Diff
Merged Extension changes from branch
nigel-charman r316:320
r319 by nigel.charman.nz on Sep 23, 2010   Diff
Moved classes from internal to api
packages
r317 by nigel.charman.nz on Sep 11, 2010   Diff
Changes to allow extensions to be
plugged into Concordion - see
Extension.html specification
    * Fixed a bug with relative paths
in Resource.java (/a/test.jpg ->
...
All revisions of this file

File info

Size: 858 bytes, 20 lines
Powered by Google Project Hosting