Class AbstractSVGLengthList.LengthListBuilder
java.lang.Object
org.apache.batik.anim.dom.AbstractSVGLengthList.LengthListBuilder
- All Implemented Interfaces:
LengthHandler, LengthListHandler
- Enclosing class:
AbstractSVGLengthList
Helper class to interface the
LengthListParser and the
ListHandler.- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected shortThe length unit just parsed.protected floatThe the length value just parsed.protected ListHandlerThe ListHandler to pass newly createdAbstractSVGLengthList.SVGLengthItemobjects to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcm()ImplementsLengthHandler.cm().voidem()ImplementsLengthHandler.em().voidImplementsLengthHandler.endLength().voidImplementsLengthListHandler.endLengthList().voidex()ImplementsLengthHandler.ex().voidin()ImplementsLengthHandler.in().voidlengthValue(float v) ImplementsLengthHandler.lengthValue(float).voidmm()ImplementsLengthHandler.mm().voidpc()ImplementsLengthHandler.pc().voidImplementsLengthHandler.percentage().voidpt()ImplementsLengthHandler.pt().voidpx()ImplementsLengthHandler.px().voidImplementsLengthHandler.startLength().voidImplementsLengthListHandler.startLengthList().
-
Field Details
-
listHandler
The ListHandler to pass newly createdAbstractSVGLengthList.SVGLengthItemobjects to. -
currentValue
protected float currentValueThe the length value just parsed. -
currentType
protected short currentTypeThe length unit just parsed.
-
-
Constructor Details
-
LengthListBuilder
Creates a new LengthListBuilder.
-
-
Method Details
-
startLengthList
ImplementsLengthListHandler.startLengthList().- Specified by:
startLengthListin interfaceLengthListHandler- Throws:
ParseException- if an error occures while processing the length list.
-
startLength
ImplementsLengthHandler.startLength().- Specified by:
startLengthin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
lengthValue
ImplementsLengthHandler.lengthValue(float).- Specified by:
lengthValuein interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
em
ImplementsLengthHandler.em().- Specified by:
emin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
ex
ImplementsLengthHandler.ex().- Specified by:
exin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
in
ImplementsLengthHandler.in().- Specified by:
inin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
cm
ImplementsLengthHandler.cm().- Specified by:
cmin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
mm
ImplementsLengthHandler.mm().- Specified by:
mmin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
pc
ImplementsLengthHandler.pc().- Specified by:
pcin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
pt
ImplementsLengthHandler.pt().- Specified by:
ptin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
px
ImplementsLengthHandler.px().- Specified by:
pxin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
percentage
ImplementsLengthHandler.percentage().- Specified by:
percentagein interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
endLength
ImplementsLengthHandler.endLength().- Specified by:
endLengthin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
endLengthList
ImplementsLengthListHandler.endLengthList().- Specified by:
endLengthListin interfaceLengthListHandler- Throws:
ParseException- if an error occures while processing the length list.
-