protected class AbstractSVGLengthList.LengthListBuilder extends Object implements LengthListHandler
LengthListParser and the
ListHandler.| Modifier and Type | Field and Description |
|---|---|
protected short |
currentType
The length unit just parsed.
|
protected float |
currentValue
The the length value just parsed.
|
protected ListHandler |
listHandler
The ListHandler to pass newly created
AbstractSVGLengthList.SVGLengthItem objects
to. |
| Constructor and Description |
|---|
LengthListBuilder(ListHandler listHandler)
Creates a new LengthListBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cm()
Implements
LengthHandler.cm(). |
void |
em()
Implements
LengthHandler.em(). |
void |
endLength()
Implements
LengthHandler.endLength(). |
void |
endLengthList()
Implements
LengthListHandler.endLengthList(). |
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(). |
void |
startLengthList()
Implements
LengthListHandler.startLengthList(). |
protected ListHandler listHandler
AbstractSVGLengthList.SVGLengthItem objects
to.protected float currentValue
protected short currentType
public LengthListBuilder(ListHandler listHandler)
public void startLengthList()
throws ParseException
LengthListHandler.startLengthList().startLengthList in interface LengthListHandlerParseExceptionpublic void startLength()
throws ParseException
LengthHandler.startLength().startLength in interface LengthHandlerParseExceptionpublic void lengthValue(float v)
throws ParseException
LengthHandler.lengthValue(float).lengthValue in interface LengthHandlerParseExceptionpublic void em()
throws ParseException
LengthHandler.em().em in interface LengthHandlerParseExceptionpublic void ex()
throws ParseException
LengthHandler.ex().ex in interface LengthHandlerParseExceptionpublic void in()
throws ParseException
LengthHandler.in().in in interface LengthHandlerParseExceptionpublic void cm()
throws ParseException
LengthHandler.cm().cm in interface LengthHandlerParseExceptionpublic void mm()
throws ParseException
LengthHandler.mm().mm in interface LengthHandlerParseExceptionpublic void pc()
throws ParseException
LengthHandler.pc().pc in interface LengthHandlerParseExceptionpublic void pt()
throws ParseException
LengthHandler.pt().pt in interface LengthHandlerParseExceptionpublic void px()
throws ParseException
LengthHandler.px().px in interface LengthHandlerParseExceptionpublic void percentage()
throws ParseException
LengthHandler.percentage().percentage in interface LengthHandlerParseExceptionpublic void endLength()
throws ParseException
LengthHandler.endLength().endLength in interface LengthHandlerParseExceptionpublic void endLengthList()
throws ParseException
LengthListHandler.endLengthList().endLengthList in interface LengthListHandlerParseExceptionCopyright © 2000–2024 Apache Software Foundation. All rights reserved.