ar.com.jmfsg.documentation
Class DocumentationLoader
java.lang.Object
ar.com.jmfsg.documentation.DocumentationLoader
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class DocumentationLoader
- extends Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
Loads all DocumentationDescriptor with the actual documentation information.
- Author:
- jformoso
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentationLoader
public DocumentationLoader()
getDocumentationForModule
public net.sf.json.JSONArray getDocumentationForModule(String prefix)
getDocumentation
public Map<String,net.sf.json.JSONArray> getDocumentation()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext ctx)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
setGeneralProperty
public static void setGeneralProperty(String key,
String value)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
readAll
public static String readAll(org.springframework.core.io.Resource res)
throws IOException
- Throws:
IOException
getGeneralDoc
public net.sf.json.JSONObject getGeneralDoc()
getRawDoc
public net.sf.json.JSONObject getRawDoc()
getDictionary
public Map<String,String> getDictionary()
getGroupDocs
public Map<String,net.sf.json.JSONObject> getGroupDocs()
getTags
public Map<String,net.sf.json.JSONObject> getTags()
Copyright © 2013. All Rights Reserved.