public class RJP08V1RamlRoot extends Object implements RamlRoot
| Constructor and Description |
|---|
RJP08V1RamlRoot(org.raml.model.Raml raml) |
| Modifier and Type | Method and Description |
|---|---|
void |
addResource(String path,
RamlResource childResource) |
void |
addResources(Map<String,RamlResource> resources) |
String |
getBaseUri() |
String |
getMediaType() |
RamlResource |
getResource(String path) |
Map<String,RamlResource> |
getResources() |
List<Map<String,String>> |
getSchemas() |
void |
removeResource(String firstResourcePart) |
void |
setBaseUri(String baseUri) |
void |
setDocumentation(List<RamlDocumentationItem> documentationItems) |
void |
setMediaType(String mediaType) |
void |
setTitle(String title) |
void |
setVersion(String version) |
public void addResource(String path, RamlResource childResource)
addResource in interface RamlResourceRootpublic Map<String,RamlResource> getResources()
getResources in interface RamlResourceRootpublic void removeResource(String firstResourcePart)
removeResource in interface RamlResourceRootpublic void addResources(Map<String,RamlResource> resources)
addResources in interface RamlResourceRootpublic RamlResource getResource(String path)
getResource in interface RamlResourceRootpublic String getMediaType()
getMediaType in interface RamlRootpublic List<Map<String,String>> getSchemas()
getSchemas in interface RamlRootpublic void setBaseUri(String baseUri)
setBaseUri in interface RamlRootpublic void setVersion(String version)
setVersion in interface RamlRootpublic void setDocumentation(List<RamlDocumentationItem> documentationItems)
setDocumentation in interface RamlRootpublic void setMediaType(String mediaType)
setMediaType in interface RamlRootpublic String getBaseUri()
getBaseUri in interface RamlRootCopyright © 2017. All rights reserved.