jsdsi
Class StringTag
java.lang.Object
  
jsdsi.Obj
      
jsdsi.Tag
          
jsdsi.ExprTag
              
jsdsi.StringTag
- All Implemented Interfaces: 
 - java.io.Serializable
 
- public class StringTag
- extends ExprTag
  
A tag defined by a simple string.
- Version:
 
  - $Revision: 1.5.2.1 $ $Date: 2005/11/08 03:12:52 $
 
- Author:
 
  - Sameer Ajmani, Sean Radford
 
- See Also:
 - Serialized Form
 
 
 
| Fields inherited from class jsdsi.Obj | 
_obj | 
 
| 
Constructor Summary | 
StringTag(java.lang.String v)
 
          Creates a new StringTag for a given string value. | 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, finalize, getClass, notify, notifyAll, wait, wait, wait | 
 
StringTag
public StringTag(java.lang.String v)
- Creates a new 
StringTag for a given string value.
 - Parameters:
 v - string to create the StringTag.
intersect
public Tag intersect(Tag that)
- Description copied from class: 
Tag 
- Intersects this 
Tag with another one and returns the 
 result.
- Specified by:
 intersect in class Tag
 
- Parameters:
 that - tag to intersect this with.
- Returns:
 - the intersection of this 
Tag and that. - See Also:
 Tag.intersect(Tag)
 
 
intersect
public Tag intersect(StringTag that)
- See Also:
 Tag.intersect(Tag)
 
equals
public boolean equals(java.lang.Object that)
- Specified by:
 equals in class Obj
 
- See Also:
 Object.equals(Object)
 
hashCode
public int hashCode()
- Specified by:
 hashCode in class Obj
 
- See Also:
 Object.hashCode()
 
getValue
public java.lang.String getValue()
- Returns:
 - the string value of this 
StringTag. 
 
toTagSexp
public Sexp toTagSexp()
- Specified by:
 toTagSexp in class Tag
 
 
Copyright © 2002-2006 JSDSI. All Rights Reserved.