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 void
cm()
ImplementsLengthHandler.cm()
.void
em()
ImplementsLengthHandler.em()
.void
endLength()
ImplementsLengthHandler.endLength()
.void
ex()
ImplementsLengthHandler.ex()
.void
in()
ImplementsLengthHandler.in()
.void
lengthValue(float v)
ImplementsLengthHandler.lengthValue(float)
.void
mm()
ImplementsLengthHandler.mm()
.void
pc()
ImplementsLengthHandler.pc()
.void
percentage()
ImplementsLengthHandler.percentage()
.void
pt()
ImplementsLengthHandler.pt()
.void
px()
ImplementsLengthHandler.px()
.void
startLength()
ImplementsLengthHandler.startLength()
.
-
-
-
Method Detail
-
startLength
public void startLength() throws ParseException
ImplementsLengthHandler.startLength()
.- Specified by:
startLength
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
lengthValue
public void lengthValue(float v) throws ParseException
ImplementsLengthHandler.lengthValue(float)
.- Specified by:
lengthValue
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
em
public void em() throws ParseException
ImplementsLengthHandler.em()
.- Specified by:
em
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
ex
public void ex() throws ParseException
ImplementsLengthHandler.ex()
.- Specified by:
ex
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
in
public void in() throws ParseException
ImplementsLengthHandler.in()
.- Specified by:
in
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
cm
public void cm() throws ParseException
ImplementsLengthHandler.cm()
.- Specified by:
cm
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
mm
public void mm() throws ParseException
ImplementsLengthHandler.mm()
.- Specified by:
mm
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
pc
public void pc() throws ParseException
ImplementsLengthHandler.pc()
.- Specified by:
pc
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
pt
public void pt() throws ParseException
ImplementsLengthHandler.pt()
.- Specified by:
pt
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
px
public void px() throws ParseException
ImplementsLengthHandler.px()
.- Specified by:
px
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
percentage
public void percentage() throws ParseException
ImplementsLengthHandler.percentage()
.- Specified by:
percentage
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
endLength
public void endLength() throws ParseException
ImplementsLengthHandler.endLength()
.- Specified by:
endLength
in interfaceLengthHandler
- Throws:
ParseException
- if an error occures while processing the length
-
-