Class Preview

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc4j.core.model.Preview
All Implemented Interfaces:
IExtendedResource, IResource

@OslcNamespace("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 Details

    • Preview

      public Preview()
  • Method Details

    • getDocument

      @OslcDescription("The URI of an HTML document to be used for the preview") @OslcPropertyDefinition("http://open-services.net/ns/core#document") @OslcReadOnly @OslcTitle("Document") public URI getDocument()
    • getHintHeight

      @OslcDescription("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("http://open-services.net/ns/core#hintHeight") @OslcReadOnly @OslcTitle("Hint Height") public String getHintHeight()
    • getHintWidth

      @OslcDescription("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("http://open-services.net/ns/core#hintWidth") @OslcReadOnly @OslcTitle("Hint Width") public String getHintWidth()
    • getInitialHeight

      @OslcDescription("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("http://open-services.net/ns/core#initialHeight") @OslcReadOnly @OslcTitle("Initial Height") public String getInitialHeight()
    • setDocument

      public void setDocument(URI document)
    • setHintHeight

      public void setHintHeight(String hintHeight)
    • setHintWidth

      public void setHintWidth(String hintWidth)
    • setInitialHeight

      public void setInitialHeight(String initialHeight)