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

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

public class UseAttributeValuePairRule
extends java.lang.Object
implements WorkPartTitleRule

A use attribute value pair work part title rule.


Constructor Summary
UseAttributeValuePairRule(org.w3c.dom.Element el)
          Creates a use attribute value pair 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

UseAttributeValuePairRule

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

Parameters:
el - UseAttributeValuePair 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.