com.dfamaj.textproc.xwm
Class NoExpandToken

java.lang.Object
  extended by com.dfamaj.textproc.xwm.NoExpandToken
All Implemented Interfaces:
Token, java.io.Serializable

public class NoExpandToken
extends java.lang.Object
implements Token, java.io.Serializable

un token qu'on ne doit pas développer.

Since:
2.0
Version:
2.0 -- 2007-02-03 -- $Revision$
Author:
David Andriana
See Also:
Serialized Form

Constructor Summary
NoExpandToken(Token delegate)
          
constructeur.
 
Method Summary
 java.lang.String getText()
          
renvoie le texte du token.
 boolean isDefinedTokens()
          
renvoie false.
 boolean isMacro()
          
renvoie true si le token est une macro ou une primitive, c'est-à-dire en fait s'il commence par [\].
 boolean isNoExpand()
          
renvoie true.
 boolean isParam()
          
renvoie true si le token est un paramètre de macro.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoExpandToken

public NoExpandToken(Token delegate)
constructeur.

Method Detail

getText

public java.lang.String getText()
renvoie le texte du token.

Specified by:
getText in interface Token

isDefinedTokens

public final boolean isDefinedTokens()
renvoie false.

Specified by:
isDefinedTokens in interface Token

isMacro

public boolean isMacro()
renvoie true si le token est une macro ou une primitive, c'est-à-dire en fait s'il commence par [\].

Specified by:
isMacro in interface Token

isNoExpand

public final boolean isNoExpand()
renvoie true.

Specified by:
isNoExpand in interface Token

isParam

public boolean isParam()
renvoie true si le token est un paramètre de macro.

Specified by:
isParam in interface Token