Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jsdsi
Class Tag  view Tag download Tag.java

java.lang.Object
  extended byjsdsi.Obj
      extended byjsdsi.Tag
Direct Known Subclasses:
ExprTag

public abstract class Tag
extends Obj

Specifies a particular authorization permission.

Version:
$Revision: 1.2 $ $Date: 2003/05/07 19:36:41 $

Field Summary
static Tag ALL_TAG
          A Tag that conveys all permissions.
static Tag NULL_TAG
          A Tag that conveys no permissions.
 
Constructor Summary
Tag()
           
 
Method Summary
(package private) abstract  boolean implies(Tag that)
          Checks if this Tag implies a given one.
(package private)  Tag intersect(Tag that)
          Intersects this Tag with another one and returns the result.
(package private) static Tag parseTag(SexpList l)
           
 SexpList toSexp()
          Creates an SexpList-representation from this SDSI-object.
(package private) abstract  Sexp toTagSexp()
           
 
Methods inherited from class jsdsi.Obj
equals, hashCode, parseObj, toByteArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_TAG

public static Tag ALL_TAG
A Tag that conveys all permissions.


NULL_TAG

public static Tag NULL_TAG
A Tag that conveys no permissions.

Constructor Detail

Tag

public Tag()
Method Detail

intersect

Tag intersect(Tag that)
Intersects this Tag with another one and returns the result.


implies

abstract boolean implies(Tag that)
Checks if this Tag implies a given one.


toTagSexp

abstract Sexp toTagSexp()

toSexp

public final SexpList toSexp()
Description copied from class: Obj
Creates an SexpList-representation from this SDSI-object.

Specified by:
toSexp in class Obj

parseTag

static Tag parseTag(SexpList l)
             throws SexpParseException