|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.twenty11.skysail.server.restlet.DocumentedInfo
de.twenty11.skysail.server.restlet.ApplicationInfo
public class ApplicationInfo
| Constructor Summary | |
|---|---|
ApplicationInfo()
Constructor. |
|
ApplicationInfo(DocumentationInfo documentation)
Constructor with a single documentation element. |
|
ApplicationInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
ApplicationInfo(String documentation)
Constructor with a single documentation element. |
|
| Method Summary | |
|---|---|
List<MethodInfo> |
getMethods()
Returns the list of method elements. |
Map<String,String> |
getNamespaces()
Returns the map of namespaces used in the WADL document. |
List<RepresentationInfo> |
getRepresentations()
Returns the list of representation elements. |
void |
setMethods(List<MethodInfo> methods)
Sets the list of documentation elements. |
void |
setNamespaces(Map<String,String> namespaces)
Sets the map of namespaces used in the WADL document. |
void |
setRepresentations(List<RepresentationInfo> representations)
|
void |
setResources(ResourcesInfo resources)
Sets the list of resource elements. |
String |
toString()
Describes a set of methods that define the behavior of a type of resource. |
void |
updateNamespaces(Map<String,String> namespaces)
Completes the given map of namespaces with the namespaces used in the documentation elements. |
| Methods inherited from class de.twenty11.skysail.server.restlet.DocumentedInfo |
|---|
getDocumentations, resolveNamespaces, setDocumentation, setDocumentation, setDocumentations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApplicationInfo()
public ApplicationInfo(DocumentationInfo documentation)
documentation - A single documentation element.public ApplicationInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public ApplicationInfo(String documentation)
documentation - A single documentation element.| Method Detail |
|---|
public String toString()
toString in class Objectpublic List<MethodInfo> getMethods()
public Map<String,String> getNamespaces()
public List<RepresentationInfo> getRepresentations()
public void setResources(ResourcesInfo resources)
resources - The list of resource elements.public void setRepresentations(List<RepresentationInfo> representations)
public void setMethods(List<MethodInfo> methods)
methods - The list of method elements.public void setNamespaces(Map<String,String> namespaces)
namespaces - The map of namespaces used in the WADL document.public void updateNamespaces(Map<String,String> namespaces)
DocumentedInfo
updateNamespaces in class DocumentedInfonamespaces - The given map of namespaces to complete.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||