|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.parser.AbstractParser | +--org.apache.batik.parser.NumberParser | +--org.apache.batik.parser.AngleParser
This class implements an event-based parser for the SVG angle values.
Field Summary | |
protected AngleHandler |
angleHandler
The angle handler used to report parse events. |
Fields inherited from class org.apache.batik.parser.AbstractParser |
BUNDLE_CLASSNAME, current, errorHandler, localizableSupport, reader |
Constructor Summary | |
AngleParser()
|
Method Summary | |
protected void |
doParse()
Parses the current reader representing an angle. |
AngleHandler |
getAngleHandler()
Returns the angle handler in use. |
void |
setAngleHandler(AngleHandler handler)
Allows an application to register an angle handler. |
Methods inherited from class org.apache.batik.parser.NumberParser |
buildFloat, parseFloat |
Methods inherited from class org.apache.batik.parser.AbstractParser |
createErrorMessage, formatMessage, getBundleClassName, getCurrent, getLocale, parse, parse, parse, reportError, setErrorHandler, setLocale, skipCommaSpaces, skipSpaces |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected AngleHandler angleHandler
Constructor Detail |
public AngleParser()
Method Detail |
public void setAngleHandler(AngleHandler handler)
If the application does not register a handler, all events reported by the parser will be silently ignored.
Applications may register a new or different handler in the middle of a parse, and the parser must begin using the new handler immediately.
handler
- The transform list handler.public AngleHandler getAngleHandler()
protected void doParse() throws ParseException, java.io.IOException
doParse
in class AbstractParser
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |