org.apache.jsieve
Class TagArgument

java.lang.Object
  extended by org.apache.jsieve.TagArgument
All Implemented Interfaces:
Argument

public class TagArgument
extends java.lang.Object
implements Argument

A parsed representation of an RFC3028 TAG argument...

tag = ":" identifier


Constructor Summary
TagArgument(org.apache.jsieve.parser.generated.Token token)
          Constructor for TagArgument.
 
Method Summary
 java.lang.String getTag()
          Returns the tag.
 java.lang.Object getValue()
          Method getValue answers the value of the receiver's Argument.
protected  void setTag(java.lang.String tag)
          Sets the tag.
protected  void setTag(org.apache.jsieve.parser.generated.Token token)
          Method setTag.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TagArgument

public TagArgument(org.apache.jsieve.parser.generated.Token token)
Constructor for TagArgument.

Parameters:
token -
Method Detail

setTag

protected void setTag(org.apache.jsieve.parser.generated.Token token)
Method setTag.

Parameters:
token -

getTag

public java.lang.String getTag()
Returns the tag.

Returns:
String

setTag

protected void setTag(java.lang.String tag)
Sets the tag.

Parameters:
tag - The tag to set

getValue

public java.lang.Object getValue()
Description copied from interface: Argument
Method getValue answers the value of the receiver's Argument.

Specified by:
getValue in interface Argument
Returns:
Object
See Also:
Argument.getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.