Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.parser
Class UnitProcessor.UnitResolver  view UnitProcessor.UnitResolver download UnitProcessor.UnitResolver.java

java.lang.Object
  extended byorg.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.


Field Summary
 short unit
          The length type.
 float value
          The length value.
 
Constructor Summary
UnitProcessor.UnitResolver()
           
 
Method Summary
 void cm()
          Implements LengthHandler.cm() 55 .
 void em()
          Implements LengthHandler.em() 55 .
 void endLength()
          Implements LengthHandler.endLength() 55 .
 void ex()
          Implements LengthHandler.ex() 55 .
 void in()
          Implements LengthHandler.in() 55 .
 void lengthValue(float v)
          Implements LengthHandler.lengthValue(float) 55 .
 void mm()
          Implements LengthHandler.mm() 55 .
 void pc()
          Implements LengthHandler.pc() 55 .
 void percentage()
          Implements LengthHandler.percentage() 55 .
 void pt()
          Implements LengthHandler.pt() 55 .
 void px()
          Implements LengthHandler.px() 55 .
 void startLength()
          Implements LengthHandler.startLength() 55 .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

public float value
The length value.


unit

public short unit
The length type.

Constructor Detail

UnitProcessor.UnitResolver

public UnitProcessor.UnitResolver()
Method Detail

startLength

public void startLength()
                 throws ParseException
Implements LengthHandler.startLength() 55 .

Specified by:
startLength in interface LengthHandler

lengthValue

public void lengthValue(float v)
                 throws ParseException
Implements LengthHandler.lengthValue(float) 55 .

Specified by:
lengthValue in interface LengthHandler

em

public void em()
        throws ParseException
Implements LengthHandler.em() 55 .

Specified by:
em in interface LengthHandler

ex

public void ex()
        throws ParseException
Implements LengthHandler.ex() 55 .

Specified by:
ex in interface LengthHandler

in

public void in()
        throws ParseException
Implements LengthHandler.in() 55 .

Specified by:
in in interface LengthHandler

cm

public void cm()
        throws ParseException
Implements LengthHandler.cm() 55 .

Specified by:
cm in interface LengthHandler

mm

public void mm()
        throws ParseException
Implements LengthHandler.mm() 55 .

Specified by:
mm in interface LengthHandler

pc

public void pc()
        throws ParseException
Implements LengthHandler.pc() 55 .

Specified by:
pc in interface LengthHandler

pt

public void pt()
        throws ParseException
Implements LengthHandler.pt() 55 .

Specified by:
pt in interface LengthHandler

px

public void px()
        throws ParseException
Implements LengthHandler.px() 55 .

Specified by:
px in interface LengthHandler

percentage

public void percentage()
                throws ParseException
Implements LengthHandler.percentage() 55 .

Specified by:
percentage in interface LengthHandler

endLength

public void endLength()
               throws ParseException
Implements LengthHandler.endLength() 55 .

Specified by:
endLength in interface LengthHandler