org.apache.batik.parser

Class ClockParser

public class ClockParser extends TimingParser

A parser for clock values.
Field Summary
protected ClockHandlerclockHandler
The handler used to report parse events.
protected booleanparseOffset
Whether this parser should parse offsets rather than clock values.
Constructor Summary
ClockParser(boolean parseOffset)
Creates a new ClockParser.
Method Summary
protected voiddoParse()
Parses a clock value.
ClockHandlergetClockHandler()
Returns the parse event handler in use.
voidsetClockHandler(ClockHandler handler)
Registers a parse event handler.

Field Detail

clockHandler

protected ClockHandler clockHandler
The handler used to report parse events.

parseOffset

protected boolean parseOffset
Whether this parser should parse offsets rather than clock values.

Constructor Detail

ClockParser

public ClockParser(boolean parseOffset)
Creates a new ClockParser.

Method Detail

doParse

protected void doParse()
Parses a clock value.

getClockHandler

public ClockHandler getClockHandler()
Returns the parse event handler in use.

setClockHandler

public void setClockHandler(ClockHandler handler)
Registers a parse event handler.
Copyright B) 2007 Apache Software Foundation. All Rights Reserved.