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 List<Method> getDocumentationForModule(String prefix)
getDocumentation
public Map<String,List<Method>> getDocumentation()
hasDocumentationDescriptor
public boolean hasDocumentationDescriptor(String beanName)
addDocumentationDescriptor
public void addDocumentationDescriptor(String beanName,
DocumentationDescriptor documentationDescriptor)
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
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
getGeneral
public General getGeneral()
getRawDoc
public net.sf.json.JSONObject getRawDoc()
getDictionary
public Map<String,String> getDictionary()
getGroups
public Map<String,Group> getGroups()
getTags
public Map<String,Tag> getTags()
addDocumentationListener
public void addDocumentationListener(DocumentationListener listener)
Copyright © 2013. All Rights Reserved.