com.thaiopensource.validate.nrl
Class Mode

java.lang.Object
  extended by com.thaiopensource.validate.nrl.Mode

 class Mode
extends Object


Field Summary
(package private) static String ANY_NAMESPACE
           
(package private) static int ATTRIBUTE_PROCESSING_FULL
           
(package private) static int ATTRIBUTE_PROCESSING_NONE
           
(package private) static int ATTRIBUTE_PROCESSING_QUALIFIED
           
private  Hashtable attributeMap
           
private  int attributeProcessing
           
private  Mode baseMode
           
(package private) static Mode CURRENT
           
private  boolean defined
           
private  Hashtable elementMap
           
private  String name
           
private  Locator whereDefined
           
private  Locator whereUsed
           
 
Constructor Summary
Mode(String name, Mode baseMode)
           
 
Method Summary
(package private)  boolean bindAttribute(String ns, AttributeActionSet actions)
           
(package private)  boolean bindElement(String ns, ActionSet actions)
           
(package private)  AttributeActionSet getAttributeActions(String ns)
           
private  AttributeActionSet getAttributeActionsExplicit(String ns)
           
(package private)  int getAttributeProcessing()
           
(package private)  Mode getBaseMode()
           
(package private)  ActionSet getElementActions(String ns)
           
private  ActionSet getElementActionsExplicit(String ns)
           
(package private)  String getName()
           
(package private)  Locator getWhereDefined()
           
(package private)  Locator getWhereUsed()
           
(package private)  boolean isDefined()
           
(package private)  void noteDefined(Locator locator)
           
(package private)  void noteUsed(Locator locator)
           
(package private)  void setBaseMode(Mode baseMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANY_NAMESPACE

static final String ANY_NAMESPACE
See Also:
Constant Field Values

ATTRIBUTE_PROCESSING_NONE

static final int ATTRIBUTE_PROCESSING_NONE
See Also:
Constant Field Values

ATTRIBUTE_PROCESSING_QUALIFIED

static final int ATTRIBUTE_PROCESSING_QUALIFIED
See Also:
Constant Field Values

ATTRIBUTE_PROCESSING_FULL

static final int ATTRIBUTE_PROCESSING_FULL
See Also:
Constant Field Values

CURRENT

static final Mode CURRENT

name

private final String name

baseMode

private Mode baseMode

defined

private boolean defined

whereDefined

private Locator whereDefined

whereUsed

private Locator whereUsed

elementMap

private final Hashtable elementMap

attributeMap

private final Hashtable attributeMap

attributeProcessing

private int attributeProcessing
Constructor Detail

Mode

Mode(String name,
     Mode baseMode)
Method Detail

getName

String getName()

getBaseMode

Mode getBaseMode()

setBaseMode

void setBaseMode(Mode baseMode)

getElementActions

ActionSet getElementActions(String ns)

getElementActionsExplicit

private ActionSet getElementActionsExplicit(String ns)

getAttributeActions

AttributeActionSet getAttributeActions(String ns)

getAttributeActionsExplicit

private AttributeActionSet getAttributeActionsExplicit(String ns)

getAttributeProcessing

int getAttributeProcessing()

getWhereDefined

Locator getWhereDefined()

isDefined

boolean isDefined()

getWhereUsed

Locator getWhereUsed()

noteUsed

void noteUsed(Locator locator)

noteDefined

void noteDefined(Locator locator)

bindElement

boolean bindElement(String ns,
                    ActionSet actions)

bindAttribute

boolean bindAttribute(String ns,
                      AttributeActionSet actions)