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- Version:
- $Id: DefaultLengthHandler.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description static LengthHandlerINSTANCEThe only instance of this class.
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultLengthHandler()This class does not need to be instantiated.
-
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().
-
-
-
Field Detail
-
INSTANCE
public static final LengthHandler INSTANCE
The only instance of this class.
-
-
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
-
-