Package org.apache.batik.anim.dom
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
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected short
The length unit just parsed.protected float
The the length value just parsed.protected ListHandler
The ListHandler to pass newly createdAbstractSVGLengthList.SVGLengthItem
objects to. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cm()
ImplementsLengthHandler.cm()
.void
em()
ImplementsLengthHandler.em()
.void
ImplementsLengthHandler.endLength()
.void
ImplementsLengthListHandler.endLengthList()
.void
ex()
ImplementsLengthHandler.ex()
.void
in()
ImplementsLengthHandler.in()
.void
lengthValue
(float v) ImplementsLengthHandler.lengthValue(float)
.void
mm()
ImplementsLengthHandler.mm()
.void
pc()
ImplementsLengthHandler.pc()
.void
ImplementsLengthHandler.percentage()
.void
pt()
ImplementsLengthHandler.pt()
.void
px()
ImplementsLengthHandler.px()
.void
ImplementsLengthHandler.startLength()
.void
ImplementsLengthListHandler.startLengthList()
.
-
Field Details
-
listHandler
The ListHandler to pass newly createdAbstractSVGLengthList.SVGLengthItem
objects 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:
startLengthList
in interfaceLengthListHandler
- Throws:
ParseException
- if an error occures while processing the length list.
-
startLength
ImplementsLengthHandler.startLength()
.- Specified by:
startLength
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
lengthValue
ImplementsLengthHandler.lengthValue(float)
.- Specified by:
lengthValue
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
em
ImplementsLengthHandler.em()
.- Specified by:
em
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
ex
ImplementsLengthHandler.ex()
.- Specified by:
ex
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
in
ImplementsLengthHandler.in()
.- Specified by:
in
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
cm
ImplementsLengthHandler.cm()
.- Specified by:
cm
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
mm
ImplementsLengthHandler.mm()
.- Specified by:
mm
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
pc
ImplementsLengthHandler.pc()
.- Specified by:
pc
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
pt
ImplementsLengthHandler.pt()
.- Specified by:
pt
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
px
ImplementsLengthHandler.px()
.- Specified by:
px
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
percentage
ImplementsLengthHandler.percentage()
.- Specified by:
percentage
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
endLength
ImplementsLengthHandler.endLength()
.- Specified by:
endLength
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
endLengthList
ImplementsLengthListHandler.endLengthList()
.- Specified by:
endLengthList
in interfaceLengthListHandler
- Throws:
ParseException
- if an error occures while processing the length list.
-