Class SecurityLabel.DisplayMarking
- java.lang.Object
-
- rocks.xmpp.extensions.seclabel.model.SecurityLabel.DisplayMarking
-
- Enclosing class:
- SecurityLabel
public static final class SecurityLabel.DisplayMarking extends Object
The implementation of the<displaymarking/>element.The
<displaymarking/>element contains a display string for use by implementations which are unable to utilize the applicable security policy to generate display markings. The element may optionally contain two attributes, fgcolor= and bgcolor=, whose values are HTML color strings (e.g., 'red' or '#ff0000'), for use in colorizing the display marking. The fgcolor= default is black. The bgcolor= default is white.
-
-
Constructor Summary
Constructors Constructor Description DisplayMarking(String value)DisplayMarking(String value, String foregroundColor, String backgroundColor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBackgroundColor()Gets the background color.StringgetForegroundColor()Gets the foreground color.StringgetValue()Gets the display string.
-
-
-
Method Detail
-
getForegroundColor
public final String getForegroundColor()
Gets the foreground color.- Returns:
- The foreground color.
-
getBackgroundColor
public final String getBackgroundColor()
Gets the background color.- Returns:
- The background color.
-
getValue
public final String getValue()
Gets the display string.- Returns:
- The display string.
-
-