ubc.cs.JLog.Parser
Class pOperatorRegistry

java.lang.Object
  extended by ubc.cs.JLog.Parser.pOperatorRegistry

public class pOperatorRegistry
extends Object

The registery for pOperatorEntrys. This is like a translation table for operators, where each entry is a mapping object that takes parsing packets, and produces prolog terms.

Version:
%I%, %G%
Author:
Glendon Holst

Field Summary
protected  Hashtable operators
           
 
Constructor Summary
pOperatorRegistry()
           
 
Method Summary
 void addOperator(pOperatorEntry oe)
           
 void clearOperators()
           
 Enumeration enumOperators()
           
protected  String getKeyString(String name, boolean lhs_op)
           
 pOperatorEntry getOperator(String name, boolean lhs_op)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operators

protected Hashtable operators
Constructor Detail

pOperatorRegistry

public pOperatorRegistry()
Method Detail

addOperator

public void addOperator(pOperatorEntry oe)

getOperator

public pOperatorEntry getOperator(String name,
                                  boolean lhs_op)

clearOperators

public void clearOperators()

enumOperators

public Enumeration enumOperators()

getKeyString

protected final String getKeyString(String name,
                                    boolean lhs_op)


Copyright © 2011. All Rights Reserved.