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

java.lang.Object
  extended by edu.northwestern.at.wordhoard.tools.cm.HeaderRules

public class HeaderRules
extends java.lang.Object

Header rules.


Constructor Summary
HeaderRules(org.w3c.dom.Element el)
          Creates a new header rules.
 
Method Summary
 java.util.Map applyRules(org.w3c.dom.Document document)
          Applies the rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeaderRules

public HeaderRules(org.w3c.dom.Element el)
Creates a new header rules.

Parameters:
el - HeaderRules element.
Method Detail

applyRules

public java.util.Map applyRules(org.w3c.dom.Document document)
Applies the rules.

Parameters:
document - XML document.
Returns:
Header value map. Maps the names of WordHoard header items to their values.