|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjif.lang.LabelUtil
public class LabelUtil
A Label is the runtime representation of a Jif label. A Label consists of a
set of components, each of which is a Policy.
| Method Summary | |
|---|---|
static Label |
bottom()
|
static boolean |
equivalentTo(Label l1,
Label l2)
|
protected static java.util.Set |
flattenJoin(Label l)
|
protected static java.util.Set |
flattenJoin(java.util.Set labels)
|
static boolean |
isReadableBy(Label lbl,
Principal p)
|
static Label |
join(Label l1,
Label l2)
|
static Label |
privacyPolicyLabel(Label lbl,
Principal owner,
Principal[] readers)
See the signature for the explanation of lbl. |
static Label |
privacyPolicyLabel(Principal owner,
java.util.Collection readers)
|
static Label |
privacyPolicyLabel(Principal owner,
PrincipalSet readers)
|
static boolean |
relabelsTo(Label from,
Label to)
|
static java.lang.String |
stringValue(Label lb)
|
static java.lang.String |
toString(Label lb)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Label bottom()
public static Label privacyPolicyLabel(Principal owner,
java.util.Collection readers)
public static Label privacyPolicyLabel(Label lbl,
Principal owner,
Principal[] readers)
public static Label privacyPolicyLabel(Principal owner,
PrincipalSet readers)
public static Label join(Label l1,
Label l2)
public static boolean equivalentTo(Label l1,
Label l2)
public static boolean isReadableBy(Label lbl,
Principal p)
public static boolean relabelsTo(Label from,
Label to)
public static java.lang.String stringValue(Label lb)
public static java.lang.String toString(Label lb)
protected static java.util.Set flattenJoin(Label l)
protected static java.util.Set flattenJoin(java.util.Set labels)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||