org.apache.batik.parser

Class UnitProcessor.UnitResolver

public static class UnitProcessor.UnitResolver extends Object implements LengthHandler

A LengthHandler that convert units.
Field Summary
shortunit
The length type.
floatvalue
The length value.
Method Summary
voidcm()
Implements {@link LengthHandler#cm()}.
voidem()
Implements {@link LengthHandler#em()}.
voidendLength()
Implements {@link LengthHandler#endLength()}.
voidex()
Implements {@link LengthHandler#ex()}.
voidin()
Implements {@link LengthHandler#in()}.
voidlengthValue(float v)
Implements {@link LengthHandler#lengthValue(float)}.
voidmm()
Implements {@link LengthHandler#mm()}.
voidpc()
Implements {@link LengthHandler#pc()}.
voidpercentage()
Implements {@link LengthHandler#percentage()}.
voidpt()
Implements {@link LengthHandler#pt()}.
voidpx()
Implements {@link LengthHandler#px()}.
voidstartLength()
Implements {@link LengthHandler#startLength()}.

Field Detail

unit

public short unit
The length type.

value

public float value
The length value.

Method Detail

cm

public void cm()
Implements {@link LengthHandler#cm()}.

em

public void em()
Implements {@link LengthHandler#em()}.

endLength

public void endLength()
Implements {@link LengthHandler#endLength()}.

ex

public void ex()
Implements {@link LengthHandler#ex()}.

in

public void in()
Implements {@link LengthHandler#in()}.

lengthValue

public void lengthValue(float v)
Implements {@link LengthHandler#lengthValue(float)}.

mm

public void mm()
Implements {@link LengthHandler#mm()}.

pc

public void pc()
Implements {@link LengthHandler#pc()}.

percentage

public void percentage()
Implements {@link LengthHandler#percentage()}.

pt

public void pt()
Implements {@link LengthHandler#pt()}.

px

public void px()
Implements {@link LengthHandler#px()}.

startLength

public void startLength()
Implements {@link LengthHandler#startLength()}.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.