net.sourceforge.czt.parser.util
Enum LatexSym

java.lang.Object
  extended by java.lang.Enum<LatexSym>
      extended by net.sourceforge.czt.parser.util.LatexSym
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LatexSym>, Token

public enum LatexSym
extends java.lang.Enum<LatexSym>
implements Token

Symbols used by the latex to unicode scanner.

Author:
Petra Malik

Enum Constant Summary
CHAR_MARKUP
          A complete %%Zchar directive.
END
          The end of a section header or Z paragraph.
END_MARKUP
          The end of a markup directive.
INWORD_MARKUP
          A %%Zinword directive.
NAME
          The name of a latex command defined in a directive.
PARENTS
          The parents keyword.
POSTWORD_MARKUP
          A %%Zpostword directive.
PREWORD_MARKUP
          A %%Zpreword directive.
SECT
          The begin of a section header.
SECTION
          The section keyword.
TEXT
          Narrative text.
UNICODE
          Just a Z unicode string.
WORD_MARKUP
          A %%Zword directive.
 
Method Summary
 java.lang.String getName()
           
 java.lang.Object getSpelling()
           
 java.lang.String spelling()
           
static LatexSym valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LatexSym[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TEXT

public static final LatexSym TEXT
Narrative text.


UNICODE

public static final LatexSym UNICODE
Just a Z unicode string.


CHAR_MARKUP

public static final LatexSym CHAR_MARKUP
A complete %%Zchar directive. It goes until the end of the line.


INWORD_MARKUP

public static final LatexSym INWORD_MARKUP
A %%Zinword directive. It starts a directive command.


PREWORD_MARKUP

public static final LatexSym PREWORD_MARKUP
A %%Zpreword directive. It starts a directive command.


POSTWORD_MARKUP

public static final LatexSym POSTWORD_MARKUP
A %%Zpostword directive. It starts a directive command.


NAME

public static final LatexSym NAME
The name of a latex command defined in a directive.


END_MARKUP

public static final LatexSym END_MARKUP
The end of a markup directive.


WORD_MARKUP

public static final LatexSym WORD_MARKUP
A %%Zword directive.


SECT

public static final LatexSym SECT
The begin of a section header.


END

public static final LatexSym END
The end of a section header or Z paragraph.


SECTION

public static final LatexSym SECTION
The section keyword.


PARENTS

public static final LatexSym PARENTS
The parents keyword.

Method Detail

values

public static LatexSym[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (LatexSym c : LatexSym.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static LatexSym valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getName

public java.lang.String getName()
Specified by:
getName in interface Token

getSpelling

public java.lang.Object getSpelling()
Specified by:
getSpelling in interface Token

spelling

public java.lang.String spelling()
Specified by:
spelling in interface Token


Copyright © 2003-2007 Community Z Tools Project. All Rights Reserved.