org.apache.batik.parser
public class LengthArrayProducer extends DefaultLengthListHandler
Field Summary | |
---|---|
protected int | count
The total number of lengths accumulated. |
protected short | currentUnit
The unit for the current length. |
protected int | index
The index in which to store the next length. |
protected short[] | u
The current short[] object. |
protected LinkedList | us
List of short[] objects. |
protected float[] | v
The current float[] object. |
protected LinkedList | vs
List of float[] objects. |
Method Summary | |
---|---|
void | cm()
Implements cm. |
void | em()
Implements em. |
void | endLength()
Implements endLength. |
void | endLengthList()
Invoked when the length list attribute ends. |
void | ex()
Implements ex. |
short[] | getLengthTypeArray()
Returns the array of length units accumulated. |
float[] | getLengthValueArray()
Returns the array of length values accumulated. |
void | in()
Implements in. |
void | lengthValue(float val)
Implements LengthHandler. |
void | mm()
Implements mm. |
void | numberValue(float v)
Invoked when a float value has been parsed. |
void | pc()
Implements pc. |
void | percentage()
Implements percentage. |
void | pt()
Implements pt. |
void | px()
Implements px. |
void | startLength()
Implements startLength. |
void | startLengthList()
Invoked when the length list attribute starts. |
short[]
object.short[]
objects.float[]
object.float[]
objects.Throws: ParseException if an error occures while processing the number list.
Throws: ParseException if an error occures while processing the number
Throws: ParseException if an error occures while processing the number list.