protected class AbstractSVGLengthList.LengthListBuilder extends java.lang.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 LengthListHandler
ParseException
- if an error occures while processing the
length list.public void startLength() throws ParseException
LengthHandler.startLength()
.startLength
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void lengthValue(float v) throws ParseException
LengthHandler.lengthValue(float)
.lengthValue
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void em() throws ParseException
LengthHandler.em()
.em
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void ex() throws ParseException
LengthHandler.ex()
.ex
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void in() throws ParseException
LengthHandler.in()
.in
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void cm() throws ParseException
LengthHandler.cm()
.cm
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void mm() throws ParseException
LengthHandler.mm()
.mm
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void pc() throws ParseException
LengthHandler.pc()
.pc
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void pt() throws ParseException
LengthHandler.pt()
.pt
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void px() throws ParseException
LengthHandler.px()
.px
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void percentage() throws ParseException
LengthHandler.percentage()
.percentage
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void endLength() throws ParseException
LengthHandler.endLength()
.endLength
in interface LengthHandler
ParseException
- if an error occures while processing
the lengthpublic void endLengthList() throws ParseException
LengthListHandler.endLengthList()
.endLengthList
in interface LengthListHandler
ParseException
- if an error occures while processing the
length list.Copyright © 2022 Apache Software Foundation. All Rights Reserved.