com.simonstl.fragment
Class FragmentRules

java.lang.Object
  |
  +--com.simonstl.fragment.FragmentRules

public class FragmentRules
extends java.lang.Object

This class stores a set of rules in a HashMap. The namespaceURI and localName are combined to provide a key value. This may eventually be extended to support attribute possibilities.


Constructor Summary
FragmentRules()
           
 
Method Summary
 void addRule(Element newElement, FragmentRule rule)
           
 FragmentRule getRule(java.lang.String nsURI, java.lang.String localName)
           
 boolean isRule(java.lang.String nsURI, java.lang.String localName)
           
 void removeRule(Element newElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FragmentRules

public FragmentRules()
Method Detail

addRule

public void addRule(Element newElement,
                    FragmentRule rule)

isRule

public boolean isRule(java.lang.String nsURI,
                      java.lang.String localName)

removeRule

public void removeRule(Element newElement)

getRule

public FragmentRule getRule(java.lang.String nsURI,
                            java.lang.String localName)