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.StringgetStylesheet()Returns the content of the "XSL" tab.Headerheader()Returns the header data of this object.booleanisExecutable()Returnstrueif this Object can be executed.voidsetStylesheet(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:UC4ObjectReturnstrueif this Object can be executed.- Specified by:
isExecutablein classUC4Object- Returns:
- true if the Object can be executed, false if not.
-
-