org.apache.batik.parser

Interface LengthHandler

public interface LengthHandler

This interface must be implemented and then registred as the handler of a LengthParser instance in order to be notified of parsing events.
Method Summary
voidcm()
Invoked when 'cm' has been parsed.
voidem()
Invoked when 'em' has been parsed.
voidendLength()
Invoked when the length attribute ends.
voidex()
Invoked when 'ex' has been parsed.
voidin()
Invoked when 'in' has been parsed.
voidlengthValue(float v)
Invoked when a float value has been parsed.
voidmm()
Invoked when 'mm' has been parsed.
voidpc()
Invoked when 'pc' has been parsed.
voidpercentage()
Invoked when '%' has been parsed.
voidpt()
Invoked when 'pt' has been parsed.
voidpx()
Invoked when 'px' has been parsed.
voidstartLength()
Invoked when the length attribute starts.

Method Detail

cm

public void cm()
Invoked when 'cm' has been parsed.

Throws: ParseException if an error occures while processing the length

em

public void em()
Invoked when 'em' has been parsed.

Throws: ParseException if an error occures while processing the length

endLength

public void endLength()
Invoked when the length attribute ends.

Throws: ParseException if an error occures while processing the length

ex

public void ex()
Invoked when 'ex' has been parsed.

Throws: ParseException if an error occures while processing the length

in

public void in()
Invoked when 'in' has been parsed.

Throws: ParseException if an error occures while processing the length

lengthValue

public void lengthValue(float v)
Invoked when a float value has been parsed.

Throws: ParseException if an error occures while processing the length

mm

public void mm()
Invoked when 'mm' has been parsed.

Throws: ParseException if an error occures while processing the length

pc

public void pc()
Invoked when 'pc' has been parsed.

Throws: ParseException if an error occures while processing the length

percentage

public void percentage()
Invoked when '%' has been parsed.

Throws: ParseException if an error occures while processing the length

pt

public void pt()
Invoked when 'pt' has been parsed.

Throws: ParseException if an error occures while processing the length

px

public void px()
Invoked when 'px' has been parsed.

Throws: ParseException if an error occures while processing the length

startLength

public void startLength()
Invoked when the length attribute starts.

Throws: ParseException if an error occures while processing the length

Copyright B) 2008 Apache Software Foundation. All Rights Reserved.