You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/10/04 20:55:50 UTC
svn commit: r1004359 - in
/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers:
ParserMonitor.java ParserMonitorAdapter.java
Author: seelmann
Date: Mon Oct 4 18:55:49 2010
New Revision: 1004359
URL: http://svn.apache.org/viewvc?rev=1004359&view=rev
Log:
Added Javadoc
Modified:
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitor.java
directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitorAdapter.java
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitor.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitor.java?rev=1004359&r1=1004358&r2=1004359&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitor.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitor.java Mon Oct 4 18:55:49 2010
@@ -27,11 +27,27 @@ package org.apache.directory.shared.ldap
*/
public interface ParserMonitor
{
+
+ /**
+ * Called when a production matched.
+ *
+ * @param prod the production
+ */
void matchedProduction( String prod );
- void startedParse( String s );
+ /**
+ * Called when parsing is started.
+ *
+ * @param subject the subject
+ */
+ void startedParse( String subject );
- void finishedParse( String s );
+ /**
+ * Called when parsing is finished.
+ *
+ * @param subject the subject
+ */
+ void finishedParse( String subject );
}
Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitorAdapter.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitorAdapter.java?rev=1004359&r1=1004358&r2=1004359&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitorAdapter.java (original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/schema/parsers/ParserMonitorAdapter.java Mon Oct 4 18:55:49 2010
@@ -21,22 +21,31 @@ package org.apache.directory.shared.ldap
/**
- * Document me.
+ * Default implementation of {@link ParserMonitor} with empty method implementations.
*
* @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
*/
public class ParserMonitorAdapter implements ParserMonitor
{
+ /**
+ * {@inheritDoc}
+ */
public void matchedProduction( String prod )
{
}
+ /**
+ * {@inheritDoc}
+ */
public void startedParse( String s )
{
}
+ /**
+ * {@inheritDoc}
+ */
public void finishedParse( String s )
{
}