com.wles.util
Class RuleParser.QualifiedElement

java.lang.Object
  extended bycom.wles.util.RuleParser.QualifiedElement
Direct Known Subclasses:
RuleParser.Action, RuleParser.Resource, RuleParser.Subject
Enclosing class:
RuleParser

public abstract static class RuleParser.QualifiedElement
extends java.lang.Object

Base class of parser for all named rule elements.


Constructor Summary
RuleParser.QualifiedElement(java.lang.String value)
          Construct a parser for a qualified rule element.
 
Method Summary
 boolean equals(java.lang.Object other)
          Compares to another element for equality.
 java.lang.String getName()
          Gets the simple unqualified, unescaped name.
 java.lang.String getQualifiedName()
           
 int hashCode()
          Computes a hashCode for the element.
 java.lang.String toString()
          Returns a report on parsed element.
abstract  void validate()
          Validates that the element is of the proper form.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleParser.QualifiedElement

public RuleParser.QualifiedElement(java.lang.String value)
                            throws RuleParser.ParsingException
Construct a parser for a qualified rule element.

Parameters:
value - the qualified value to parse.
Method Detail

equals

public boolean equals(java.lang.Object other)
Compares to another element for equality.


getName

public java.lang.String getName()
Gets the simple unqualified, unescaped name.


getQualifiedName

public java.lang.String getQualifiedName()

hashCode

public int hashCode()
Computes a hashCode for the element.


toString

public java.lang.String toString()
Returns a report on parsed element.


validate

public abstract void validate()
                       throws RuleParser.ParsingException
Validates that the element is of the proper form.

Throws:
RuleParser.ParsingException


Copyright © 2005 BEA Systems Inc. All Rights Reserved.