org.apache.batik.parser
public class LengthParser extends AbstractParser
| Field Summary | |
|---|---|
| protected LengthHandler | lengthHandler
The length handler used to report parse events. |
| Constructor Summary | |
|---|---|
| LengthParser()
Creates a new LengthParser. | |
| Method Summary | |
|---|---|
| protected void | doParse() |
| LengthHandler | getLengthHandler()
Returns the length handler in use. |
| protected void | parseLength()
Parses a length value. |
| void | setLengthHandler(LengthHandler handler)
Allows an application to register a length 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.
Parameters: handler The transform list handler.