LengthHandlerpublic static class UnitProcessor.UnitResolver extends java.lang.Object implements LengthHandler
| Modifier and Type | Field | Description |
|---|---|---|
short |
unit |
The length type.
|
float |
value |
The length value.
|
| Constructor | Description |
|---|---|
UnitResolver() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
cm() |
Implements
LengthHandler.cm(). |
void |
em() |
Implements
LengthHandler.em(). |
void |
endLength() |
Implements
LengthHandler.endLength(). |
void |
ex() |
Implements
LengthHandler.ex(). |
void |
in() |
Implements
LengthHandler.in(). |
void |
lengthValue(float v) |
Implements
LengthHandler.lengthValue(float). |
void |
mm() |
Implements
LengthHandler.mm(). |
void |
pc() |
Implements
LengthHandler.pc(). |
void |
percentage() |
Implements
LengthHandler.percentage(). |
void |
pt() |
Implements
LengthHandler.pt(). |
void |
px() |
Implements
LengthHandler.px(). |
void |
startLength() |
Implements
LengthHandler.startLength(). |
public void startLength()
throws ParseException
LengthHandler.startLength().startLength in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void lengthValue(float v)
throws ParseException
LengthHandler.lengthValue(float).lengthValue in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void em()
throws ParseException
LengthHandler.em().em in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void ex()
throws ParseException
LengthHandler.ex().ex in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void in()
throws ParseException
LengthHandler.in().in in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void cm()
throws ParseException
LengthHandler.cm().cm in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void mm()
throws ParseException
LengthHandler.mm().mm in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void pc()
throws ParseException
LengthHandler.pc().pc in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void pt()
throws ParseException
LengthHandler.pt().pt in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void px()
throws ParseException
LengthHandler.px().px in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void percentage()
throws ParseException
LengthHandler.percentage().percentage in interface LengthHandlerParseException - if an error occures while processing
the lengthpublic void endLength()
throws ParseException
LengthHandler.endLength().endLength in interface LengthHandlerParseException - if an error occures while processing
the lengthCopyright ? 2018 Apache Software Foundation. All Rights Reserved.