Package org.apache.batik.parser
Class UnitProcessor.UnitResolver
- java.lang.Object
-
- org.apache.batik.parser.UnitProcessor.UnitResolver
-
- All Implemented Interfaces:
LengthHandler
- Enclosing class:
- UnitProcessor
public static class UnitProcessor.UnitResolver extends java.lang.Object implements LengthHandler
A LengthHandler that convert units.
-
-
Constructor Summary
Constructors Constructor Description UnitResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcm()ImplementsLengthHandler.cm().voidem()ImplementsLengthHandler.em().voidendLength()ImplementsLengthHandler.endLength().voidex()ImplementsLengthHandler.ex().voidin()ImplementsLengthHandler.in().voidlengthValue(float v)ImplementsLengthHandler.lengthValue(float).voidmm()ImplementsLengthHandler.mm().voidpc()ImplementsLengthHandler.pc().voidpercentage()ImplementsLengthHandler.percentage().voidpt()ImplementsLengthHandler.pt().voidpx()ImplementsLengthHandler.px().voidstartLength()ImplementsLengthHandler.startLength().
-
-
-
Method Detail
-
startLength
public void startLength() throws ParseExceptionImplementsLengthHandler.startLength().- Specified by:
startLengthin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
lengthValue
public void lengthValue(float v) throws ParseExceptionImplementsLengthHandler.lengthValue(float).- Specified by:
lengthValuein interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
em
public void em() throws ParseExceptionImplementsLengthHandler.em().- Specified by:
emin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
ex
public void ex() throws ParseExceptionImplementsLengthHandler.ex().- Specified by:
exin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
in
public void in() throws ParseExceptionImplementsLengthHandler.in().- Specified by:
inin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
cm
public void cm() throws ParseExceptionImplementsLengthHandler.cm().- Specified by:
cmin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
mm
public void mm() throws ParseExceptionImplementsLengthHandler.mm().- Specified by:
mmin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
pc
public void pc() throws ParseExceptionImplementsLengthHandler.pc().- Specified by:
pcin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
pt
public void pt() throws ParseExceptionImplementsLengthHandler.pt().- Specified by:
ptin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
px
public void px() throws ParseExceptionImplementsLengthHandler.px().- Specified by:
pxin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
percentage
public void percentage() throws ParseExceptionImplementsLengthHandler.percentage().- Specified by:
percentagein interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
endLength
public void endLength() throws ParseExceptionImplementsLengthHandler.endLength().- Specified by:
endLengthin interfaceLengthHandler- Throws:
ParseException- if an error occures while processing the length
-
-