org.apache.batik.parser
Interface PreserveAspectRatioParser

All Superinterfaces:
Localizable, Parser
All Known Implementing Classes:
ConcretePreserveAspectRatioParser

public interface PreserveAspectRatioParser
extends Parser

This interface represents an event-based parser for the SVG preserveAspectRatio attribute values.


Method Summary
 PreserveAspectRatioHandler getPreserveAspectRatioHandler()
          Returns the length handler in use.
 void setPreserveAspectRatioHandler(PreserveAspectRatioHandler handler)
          Allows an application to register a PreserveAspectRatioParser handler.
 
Methods inherited from interface org.apache.batik.parser.Parser
parse, setErrorHandler
 
Methods inherited from interface org.apache.batik.i18n.Localizable
formatMessage, getLocale, setLocale
 

Method Detail

setPreserveAspectRatioHandler

public void setPreserveAspectRatioHandler(PreserveAspectRatioHandler handler)
Allows an application to register a PreserveAspectRatioParser 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.

getPreserveAspectRatioHandler

public PreserveAspectRatioHandler getPreserveAspectRatioHandler()
Returns the length handler in use.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.