edu.indiana.dlib.metsnav.config
Class DivConfigCreateRule

java.lang.Object
  extended by ObjectCreateRule
      extended by edu.indiana.dlib.metsnav.config.DivConfigCreateRule

public class DivConfigCreateRule
extends ObjectCreateRule

This rule configures the //config/div element

Author:
David Jiao

Field Summary
protected  String propertyAttribute
          Attribute name which contains the property name in the parent config object that contains this object
protected  String propertyName
          The property name in the parent config object that contains this object
 
Constructor Summary
DivConfigCreateRule(String propAttribute, String classAttribute)
          Creates an instance
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
           
 void end(String namespace, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

protected String propertyName
The property name in the parent config object that contains this object


propertyAttribute

protected String propertyAttribute
Attribute name which contains the property name in the parent config object that contains this object

Constructor Detail

DivConfigCreateRule

public DivConfigCreateRule(String propAttribute,
                           String classAttribute)
Creates an instance

Parameters:
className - Java class name of the object to be created
propertyAttribute - Attribute name which contains the property name in the main config object that contains this object
classAttribute - Attribute name which, if present, contains an override of the class name to create
Method Detail

begin

public void begin(String namespace,
                  String name,
                  Attributes attributes)
           throws Exception
Throws:
Exception

end

public void end(String namespace,
                String name)
         throws Exception
Throws:
Exception


Copyright © 2005 Trustees of Indiana University. All Rights Reserved.