@OslcNamespace(value="http://open-services.net/ns/core#") @OslcResourceShape(title="OSLC Preview Resource Shape", describes="http://open-services.net/ns/core#Preview") public class Preview extends AbstractResource
Constructor and Description |
---|
Preview() |
Modifier and Type | Method and Description |
---|---|
URI |
getDocument() |
String |
getHintHeight() |
String |
getHintWidth() |
String |
getInitialHeight() |
void |
setDocument(URI document) |
void |
setHintHeight(String hintHeight) |
void |
setHintWidth(String hintWidth) |
void |
setInitialHeight(String initialHeight) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
@OslcDescription(value="The URI of an HTML document to be used for the preview") @OslcPropertyDefinition(value="http://open-services.net/ns/core#document") @OslcReadOnly @OslcTitle(value="Document") public URI getDocument()
@OslcDescription(value="Recommended height of the preview. Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1). Em and ex units are interpreted relative to the default system font (at 100% size).") @OslcPropertyDefinition(value="http://open-services.net/ns/core#hintHeight") @OslcReadOnly @OslcTitle(value="Hint Height") public String getHintHeight()
@OslcDescription(value="Recommended width of the preview. Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1). Em and ex units are interpreted relative to the default system font (at 100% size).") @OslcPropertyDefinition(value="http://open-services.net/ns/core#hintWidth") @OslcReadOnly @OslcTitle(value="Hint Width") public String getHintWidth()
@OslcDescription(value="Recommended initial height of the preview. The presence of this property indicates that the preview supports dynamically computing its size. Values MUST be expressed in relative length units as defined in the W3C Cascading Style Sheets Specification (CSS 2.1). Em and ex units are interpreted relative to the default system font (at 100% size).") @OslcPropertyDefinition(value="http://open-services.net/ns/core#initialHeight") @OslcReadOnly @OslcTitle(value="Initial Height") public String getInitialHeight()
public void setDocument(URI document)
public void setHintHeight(String hintHeight)
public void setHintWidth(String hintWidth)
public void setInitialHeight(String initialHeight)
Copyright © 2018. All rights reserved.