edu.northwestern.at.wordhoard.tools.cm
Class UseAttributeValueRule

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.cm.UseAttributeValueRule
All Implemented Interfaces:
WorkPartTitleRule

public class UseAttributeValueRule
extends java.lang.Object
implements WorkPartTitleRule

A use attribute value work part title rule.


Constructor Summary
UseAttributeValueRule(org.w3c.dom.Element el)
          Creates a use attribute value rule.
 
Method Summary
 java.lang.String applyRule(org.w3c.dom.Element el, Rules rules)
          Applies the rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UseAttributeValueRule

public UseAttributeValueRule(org.w3c.dom.Element el)
Creates a use attribute value rule.

Parameters:
el - UseAttributeValue element.
Method Detail

applyRule

public java.lang.String applyRule(org.w3c.dom.Element el,
                                  Rules rules)
Applies the rule.

Specified by:
applyRule in interface WorkPartTitleRule
Parameters:
el - Element.
rules - Rules.
Returns:
Work part title, or null if none could be found.