|
||||||||||
| 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.RepresentationInfo
public class RepresentationInfo
| Constructor Summary | |
|---|---|
RepresentationInfo()
Constructor. |
|
RepresentationInfo(DocumentationInfo documentation)
Constructor with a single documentation element. |
|
RepresentationInfo(List<DocumentationInfo> documentations)
Constructor with a list of documentation elements. |
|
RepresentationInfo(org.restlet.data.MediaType mediaType)
Constructor with a media type. |
|
RepresentationInfo(String documentation)
Constructor with a single documentation element. |
|
RepresentationInfo(org.restlet.representation.Variant variant)
Constructor with a variant. |
|
| Method Summary | |
|---|---|
String |
getIdentifier()
Returns the identifier for that element. |
org.restlet.data.MediaType |
getMediaType()
Returns the media type of that element. |
List<ParameterInfo> |
getParameters()
Returns the list of parameters. |
List<org.restlet.data.Reference> |
getProfiles()
Returns the list of locations of one or more meta data profiles. |
String |
getReference()
Returns the reference to an representation identifier. |
String |
getXmlElement()
Returns the qualified name of the root element for this XML-based representation. |
void |
setIdentifier(String identifier)
Sets the identifier for that element. |
void |
setMediaType(org.restlet.data.MediaType mediaType)
Sets the media type of that element. |
void |
setParameters(List<ParameterInfo> parameters)
Sets the list of parameters. |
void |
setReference(String reference)
Sets the reference to an representation identifier. |
void |
setXmlElement(String xmlElement)
Sets the qualified name of the root element for this XML-based representation. |
String |
toString()
|
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 RepresentationInfo()
public RepresentationInfo(DocumentationInfo documentation)
documentation - A single documentation element.public RepresentationInfo(List<DocumentationInfo> documentations)
documentations - The list of documentation elements.public RepresentationInfo(org.restlet.data.MediaType mediaType)
mediaType - The media type of the representation.public RepresentationInfo(String documentation)
documentation - A single documentation element.public RepresentationInfo(org.restlet.representation.Variant variant)
variant - The variant to describe.| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getIdentifier()
public org.restlet.data.MediaType getMediaType()
public List<ParameterInfo> getParameters()
public List<org.restlet.data.Reference> getProfiles()
public String getReference()
public String getXmlElement()
public void setIdentifier(String identifier)
identifier - The identifier for that element.public void setMediaType(org.restlet.data.MediaType mediaType)
mediaType - The media type of that element.public void setParameters(List<ParameterInfo> parameters)
parameters - The list of parameters.public void setReference(String reference)
reference - The reference to an representation identifier.public void setXmlElement(String xmlElement)
xmlElement - The qualified name of the root element for this XML-based
representation.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 | |||||||||