org.apache.hivemind.schema.rules
Class BaseRule

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.hivemind.schema.rules.BaseRule
All Implemented Interfaces:
Locatable, LocationHolder, Rule
Direct Known Subclasses:
ConversionDescriptor, CreateObjectRule, InvokeParentRule, PushAttributeRule, PushContentRule, ReadAttributeRule, ReadContentRule, SetModuleRule, SetParentRule, SetPropertyRule

public abstract class BaseRule
extends BaseLocatable
implements Rule

Base class for implementing Rules.

Author:
Howard Lewis Ship

Constructor Summary
BaseRule()
           
 
Method Summary
 void begin(SchemaProcessor processor, Element element)
          Does nothing; subclasses may override.
 void end(SchemaProcessor processor, Element element)
          Does nothing; subclasses may override.
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

BaseRule

public BaseRule()
Method Detail

begin

public void begin(SchemaProcessor processor,
                  Element element)
Does nothing; subclasses may override.

Specified by:
begin in interface Rule

end

public void end(SchemaProcessor processor,
                Element element)
Does nothing; subclasses may override.

Specified by:
end in interface Rule