Package org.apache.batik.parser
Class DefaultLengthHandler
- java.lang.Object
-
- org.apache.batik.parser.DefaultLengthHandler
-
- All Implemented Interfaces:
LengthHandler
- Direct Known Subclasses:
DefaultLengthListHandler
public class DefaultLengthHandler extends java.lang.Object implements LengthHandler
This class provides an adapter for LengthHandler
-
-
Field Summary
Fields Modifier and Type Field Description static LengthHandler
INSTANCE
The only instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultLengthHandler()
This class does not need to be instantiated.
-
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()
.
-
-
-
Field Detail
-
INSTANCE
public static final LengthHandler INSTANCE
The only instance of this class.
-
-
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
-
-