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.
Version 0.02 moved some of the logic for key generation to the Element class.
Making that logic work more smoothly will require changes to isRule() and getRule(),
as well as the FragmentFilter
class.
- Version:
- 0.02 24 June 2001
- Author:
- Simon St.Laurent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FragmentRules
public FragmentRules()
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)