Package com.uc4.api.objects
Class Stylesheet
- java.lang.Object
-
- com.uc4.api.objects.UC4Object
-
- com.uc4.api.objects.Stylesheet
-
public class Stylesheet extends UC4Object
This class represents Stylesheet objects.
-
-
Constructor Summary
Constructors Constructor Description Stylesheet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStylesheet()
Returns the content of the "XSL" tab.Header
header()
Returns the header data of this object.boolean
isExecutable()
Returnstrue
if this Object can be executed.void
setStylesheet(java.lang.String sheet)
Sets the content of the "XSL" tab.-
Methods inherited from class com.uc4.api.objects.UC4Object
docu, getAccess, getIdnr, getModCount, getName, getObjectClient, getType, isOldVersion, load, store, validate
-
-
-
-
Method Detail
-
header
public Header header()
Returns the header data of this object. This is the information of the header tab in the dialog client.- Returns:
- header
-
getStylesheet
public java.lang.String getStylesheet()
Returns the content of the "XSL" tab.- Returns:
- XML as String
-
setStylesheet
public void setStylesheet(java.lang.String sheet)
Sets the content of the "XSL" tab. The String can contain multiple lines. Use \n as line separator.- Parameters:
sheet
- Stylesheet
-
isExecutable
public boolean isExecutable()
Description copied from class:UC4Object
Returnstrue
if this Object can be executed.- Specified by:
isExecutable
in classUC4Object
- Returns:
- true if the Object can be executed, false if not.
-
-