org.apache.batik.parser
Interface ClockParser

All Superinterfaces:
Localizable, Parser

public interface ClockParser
extends Parser

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

Version:
$Id: ClockParser.java,v 1.2 2003/08/08 11:39:18 vhardy Exp $
Author:
Stephane Hillion

Method Summary
 ClockHandler getClockHandler()
          Returns the clock handler in use.
 void setClockHandler(ClockHandler handler)
          Allows an application to register an clock handler.
 
Methods inherited from interface org.apache.batik.parser.Parser
parse, parse, setErrorHandler
 
Methods inherited from interface org.apache.batik.i18n.Localizable
formatMessage, getLocale, setLocale
 

Method Detail

setClockHandler

public void setClockHandler(ClockHandler handler)
Allows an application to register an clock 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 clock handler.

getClockHandler

public ClockHandler getClockHandler()
Returns the clock handler in use.



<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.