net.sgoliver.jrtftree.core
Class RtfTokenType

java.lang.Object
  extended bynet.sgoliver.jrtftree.core.RtfTokenType

public class RtfTokenType
extends java.lang.Object

Tipos de token de un árbol de documento RTF.


Field Summary
static int CONTROL
          Símbolo de Control sin parámetro.
static int EOF
          Marca de fin de fichero.
static int GROUP_END
          Fin de grupo: '}'
static int GROUP_START
          Inicio de grupo: '{'
static int KEYWORD
          Palabra clave sin parámetro.
static int NONE
          Indica que el token sólo se ha inicializado.
static int TEXT
          Texto del documento.
 
Constructor Summary
RtfTokenType()
           
 
Method Summary
static java.lang.String toString(int tokenType)
          Convierte a cadena el tipo de token.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTROL

public static final int CONTROL
Símbolo de Control sin parámetro.

See Also:
Constant Field Values

EOF

public static final int EOF
Marca de fin de fichero.

See Also:
Constant Field Values

GROUP_END

public static final int GROUP_END
Fin de grupo: '}'

See Also:
Constant Field Values

GROUP_START

public static final int GROUP_START
Inicio de grupo: '{'

See Also:
Constant Field Values

KEYWORD

public static final int KEYWORD
Palabra clave sin parámetro.

See Also:
Constant Field Values

NONE

public static final int NONE
Indica que el token sólo se ha inicializado.

See Also:
Constant Field Values

TEXT

public static final int TEXT
Texto del documento.

See Also:
Constant Field Values
Constructor Detail

RtfTokenType

public RtfTokenType()
Method Detail

toString

public static java.lang.String toString(int tokenType)
Convierte a cadena el tipo de token.

Parameters:
tokenType - Tipo de token.
Returns:
Representación textual del tipo de token.