|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.base.parser.GlueComponentParser
public class GlueComponentParser
This class provides a means to store floating numbers with an order.
Examples
123 pt -123 pt 123.456 pt 123.pt .465 pt -.456pt +456pt
| Method Summary | |
|---|---|
static GlueComponent |
attachUnit(long value,
Context context,
TokenSource source,
Typesetter typesetter,
boolean fixed)
Convert a value by scanning a unit and storing its converted value in a GlueComponent. |
protected static Localizer |
getMyLocalizer()
Getter for the localizer. |
static GlueComponent |
parse(Context context,
TokenSource source,
Typesetter typesetter,
boolean fixed)
Creates a new object. |
static GlueComponent |
parse(TokenSource source,
Context context,
Typesetter typesetter)
Creates a new object from a TokenStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected static Localizer getMyLocalizer()
public static GlueComponent parse(Context context,
TokenSource source,
Typesetter typesetter,
boolean fixed)
throws HelpingException,
TypesetterException
context - the interpreter contextsource - the source for the tokens to be readtypesetter - the typesetterfixed - if true then no glue order is allowed
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
public static GlueComponent attachUnit(long value,
Context context,
TokenSource source,
Typesetter typesetter,
boolean fixed)
throws HelpingException,
TypesetterException
context - the interpreter contextsource - the source for the tokens to be readtypesetter - the typesetterfixed - if true then no glue order is allowedvalue - the value to encapsulate
null
if no suitable unit could be found
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
public static GlueComponent parse(TokenSource source,
Context context,
Typesetter typesetter)
throws HelpingException,
TypesetterException
source - the source for new tokenscontext - the interpreter contexttypesetter - the typesetter
HelpingException - in case of an error
TypesetterException - in case of an error in the typesetter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||