Interface AngleHandler
- All Known Implementing Classes:
DefaultAngleHandler
public interface AngleHandler
This interface must be implemented and then registred as the
handler of a
AngleParser instance in order to be
notified of parsing events.-
Method Summary
Modifier and TypeMethodDescriptionvoidangleValue(float v) Invoked when a float value has been parsed.voiddeg()Invoked when 'deg' has been parsed.voidendAngle()Invoked when the angle attribute parsing ends.voidgrad()Invoked when 'grad' has been parsed.voidrad()Invoked when 'rad' has been parsed.voidInvoked when the angle attribute parsing starts.
-
Method Details
-
startAngle
Invoked when the angle attribute parsing starts.- Throws:
ParseException- if an error occured while processing the angle
-
angleValue
Invoked when a float value has been parsed.- Throws:
ParseException- if an error occured while processing the angle
-
deg
Invoked when 'deg' has been parsed.- Throws:
ParseException- if an error occured while processing the angle
-
grad
Invoked when 'grad' has been parsed.- Throws:
ParseException- if an error occured while processing the angle
-
rad
Invoked when 'rad' has been parsed.- Throws:
ParseException- if an error occured while processing the angle
-
endAngle
Invoked when the angle attribute parsing ends.- Throws:
ParseException- if an error occured while processing the angle
-