public final class SecurityLabel
extends java.lang.Object
The implementation of the <securitylabel/>
element in the urn:xmpp:sec-label:0
namespace.
Modifier and Type | Class and Description |
---|---|
static class |
SecurityLabel.DisplayMarking
The implementation of the
<displaymarking/> element. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE |
Constructor and Description |
---|
SecurityLabel() |
SecurityLabel(java.lang.Object primaryLabel) |
SecurityLabel(java.lang.Object primaryLabel,
java.util.Collection<java.lang.Object> equivalentLabels,
SecurityLabel.DisplayMarking displayMarking) |
SecurityLabel(java.lang.Object primaryLabel,
SecurityLabel.DisplayMarking displayMarking) |
Modifier and Type | Method and Description |
---|---|
SecurityLabel.DisplayMarking |
getDisplayMarking()
Gets the display marking.
|
java.util.List<java.lang.Object> |
getEquivalentLabels()
Gets the equivalent security labels.
|
java.lang.Object |
getLabel()
Gets the primary security label.
|
public static final java.lang.String NAMESPACE
public SecurityLabel()
public SecurityLabel(java.lang.Object primaryLabel)
public SecurityLabel(java.lang.Object primaryLabel, SecurityLabel.DisplayMarking displayMarking)
public SecurityLabel(java.lang.Object primaryLabel, java.util.Collection<java.lang.Object> equivalentLabels, SecurityLabel.DisplayMarking displayMarking)
public final SecurityLabel.DisplayMarking getDisplayMarking()
Gets the display marking.
public final java.lang.Object getLabel()
Gets the primary security label.
public final java.util.List<java.lang.Object> getEquivalentLabels()
Gets the equivalent security labels.
Each equivalent label represents an equivalent security label under other policies. This element might be used when a recipient is known to hold a clearance under a different policy than the sender.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.