Author: rwesten
Date: Wed Feb 15 19:07:04 2012
New Revision: 1244647
URL: http://svn.apache.org/viewvc?rev=1244647&view=rev
Log:
Trying syntax hilighter on code blocks as described on
http://wiki.apache.org/general/ApacheCms2010
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
Modified:
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
URL:
http://svn.apache.org/viewvc/incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext?rev=1244647&r1=1244646&r2=1244647&view=diff
==============================================================================
---
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
(original)
+++
incubator/stanbol/site/trunk/content/stanbol/docs/trunk/enhancer/index.mdtext
Wed Feb 15 19:07:04 2012
@@ -27,14 +27,16 @@ For detailed information please see the
### Java API:
The usage of the Java API requires the following OSGI Services
-
+
+ #!java
@Reference
- EnhancementJobManager jobManager
+ EnhancementJobManager jobManager;
@Reference
- EnhancementChainManager
+ ChainManager chainManager;
This code snipped shows how to enhance a HTML document
+ #!java
InputStream content; //the content (assuming an HTML document)
String chainName; //the name of the chain or null to use the default
ContentItem contentItem = new InMemoryContentItem(