jsdsi
Class SimpleTag

java.lang.Object
  |
  +--jsdsi.Obj
        |
        +--jsdsi.Tag
              |
              +--jsdsi.ExprTag
                    |
                    +--jsdsi.SimpleTag

public class SimpleTag
extends ExprTag

A tag that contains a string type and a sequence of other tags.

Author:
Sameer Ajmani

Field Summary
 
Fields inherited from class jsdsi.Tag
ALL_TAG, NULL_TAG
 
Constructor Summary
SimpleTag(java.lang.String v, ExprTag[] t)
           
 
Method Summary
 boolean equals(java.lang.Object that)
           
 ExprTag[] getTags()
           
 java.lang.String getValue()
           
 int hashCode()
           
(package private)  boolean implies(Tag that)
           
(package private) static SimpleTag parseSimpleTag(SexpList l)
           
 Sexp toTagSexp()
           
 
Methods inherited from class jsdsi.ExprTag
parseExprTag
 
Methods inherited from class jsdsi.Tag
intersect, parseTag, toSexp
 
Methods inherited from class jsdsi.Obj
parseObj, parseObj, toByteArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleTag

public SimpleTag(java.lang.String v,
                 ExprTag[] t)
Method Detail

implies

boolean implies(Tag that)
Specified by:
implies in class Tag

equals

public boolean equals(java.lang.Object that)
Specified by:
equals in class Obj

hashCode

public int hashCode()
Specified by:
hashCode in class Obj

getValue

public java.lang.String getValue()

getTags

public ExprTag[] getTags()

toTagSexp

public Sexp toTagSexp()
Specified by:
toTagSexp in class Tag

parseSimpleTag

static SimpleTag parseSimpleTag(SexpList l)
                         throws SexpParseException
SexpParseException