org.apache.batik.parser
public class PreserveAspectRatioParser extends AbstractParser
Field Summary | |
---|---|
protected PreserveAspectRatioHandler | preserveAspectRatioHandler
The PreserveAspectRatio handler used to report parse events. |
Constructor Summary | |
---|---|
PreserveAspectRatioParser()
Creates a new PreserveAspectRatioParser. |
Method Summary | |
---|---|
protected void | doParse()
Parses the current stream. |
PreserveAspectRatioHandler | getPreserveAspectRatioHandler()
Returns the length handler in use. |
protected void | parsePreserveAspectRatio()
Parses a PreserveAspectRatio attribute. |
void | setPreserveAspectRatioHandler(PreserveAspectRatioHandler handler)
Allows an application to register a PreserveAspectRatioParser handler.
|
protected void | skipIdentifier()
Skips characters in the given reader until a white space is encountered. |
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.