org.apache.directory.api.ldap.model.schema.parsers
Class ConsoleParserMonitor

java.lang.Object
  extended by org.apache.directory.api.ldap.model.schema.parsers.ConsoleParserMonitor
All Implemented Interfaces:
ParserMonitor

public class ConsoleParserMonitor
extends Object
implements ParserMonitor

A console reporting monitor. Add system property 'maven.eve.schema.parser.trace' to get this monitor to trace parser production execution.

Author:
Apache Directory Project

Field Summary
static String TRACE_KEY
           
 
Constructor Summary
ConsoleParserMonitor()
           
 
Method Summary
 void finishedParse(String s)
          Called when parsing is finished.
 void matchedProduction(String prod)
          Called when a production matched.
 void startedParse(String s)
          Called when parsing is started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRACE_KEY

public static final String TRACE_KEY
See Also:
Constant Field Values
Constructor Detail

ConsoleParserMonitor

public ConsoleParserMonitor()
Method Detail

matchedProduction

public void matchedProduction(String prod)
Description copied from interface: ParserMonitor
Called when a production matched.

Specified by:
matchedProduction in interface ParserMonitor
Parameters:
prod - the production

startedParse

public void startedParse(String s)
Description copied from interface: ParserMonitor
Called when parsing is started.

Specified by:
startedParse in interface ParserMonitor
Parameters:
s - the subject

finishedParse

public void finishedParse(String s)
Description copied from interface: ParserMonitor
Called when parsing is finished.

Specified by:
finishedParse in interface ParserMonitor
Parameters:
s - the subject


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.