|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.czt.parser.util.LatexCommand
public class LatexCommand
A latex command for Zed markup together with its rendering information.
| Constructor Summary | |
|---|---|
LatexCommand(java.lang.String name,
java.lang.String unicode,
boolean addLeftSpace,
boolean addRightSpace)
Creates a new latex command. |
|
| Method Summary | |
|---|---|
boolean |
addLeftSpace()
A boolean indicating whether a space is usually inserted before. |
boolean |
addRightSpace()
A boolean indicating whether a space is usually inserted after. |
java.lang.String |
getName()
Returns the name of this latex command. |
java.lang.String |
getUnicode()
Returns the unicode sequence represented by this latex command. |
java.lang.String |
toString()
Returns a string representation of this latex command. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LatexCommand(java.lang.String name,
java.lang.String unicode,
boolean addLeftSpace,
boolean addRightSpace)
name - the name of the latex command
(should contain backslash character if present).unicode - the corresponding unicode sequence represented.addLeftSpace - a boolean indicating whether space is added
on the leftern side of the unicode sequence when
transforming latex to unicode.addRightSpace - a boolean indicating whether space is added
on the rightern side of the unicode sequence when
transforming latex to unicode.| Method Detail |
|---|
public java.lang.String getName()
public boolean addLeftSpace()
public boolean addRightSpace()
public java.lang.String getUnicode()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||