|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 | |
---|---|
void |
cm()
Invoked when 'cm' has been parsed. |
void |
em()
Invoked when 'em' has been parsed. |
void |
endLength()
Invoked when the length attribute ends. |
void |
ex()
Invoked when 'ex' has been parsed. |
void |
in()
Invoked when 'in' has been parsed. |
void |
lengthValue(float v)
Invoked when a float value has been parsed. |
void |
mm()
Invoked when 'mm' has been parsed. |
void |
pc()
Invoked when 'pc' has been parsed. |
void |
percentage()
Invoked when '%' has been parsed. |
void |
pt()
Invoked when 'pt' has been parsed. |
void |
px()
Invoked when 'px' has been parsed. |
void |
startLength()
Invoked when the length attribute starts. |
Method Detail |
---|
void startLength() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid lengthValue(float v) throws ParseException
ParseException
- if an error occures while processing
the lengthvoid em() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid ex() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid in() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid cm() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid mm() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid pc() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid pt() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid px() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid percentage() throws ParseException
ParseException
- if an error occures while processing
the lengthvoid endLength() throws ParseException
ParseException
- if an error occures while processing
the length
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |