opennlp.leo.prolog
Class POp

java.lang.Object
  |
  +--opennlp.leo.prolog.POp
All Implemented Interfaces:
PTerm

public class POp
extends java.lang.Object
implements PTerm

Java representation of a Prolog operator which has any number of arguments.

Version:
$Revision: 1.1.1.1 $, $Date: 2001/10/22 11:12:36 $
Author:
Jason Baldridge

Field Summary
 PTerm[] args
           
 
Constructor Summary
POp(org.jdom.Element e)
           
POp(PTerm[] l)
           
POp(PTerm[] l, java.lang.String _op)
           
POp(java.lang.String _op)
           
POp(java.lang.String _op, PTerm first)
           
POp(java.lang.String _op, PTerm first, PTerm second)
           
 
Method Summary
 PTerm[] getElements()
           
 java.lang.String getOp()
           
 java.lang.String toString()
           
 java.lang.String toXml(java.lang.String indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

args

public PTerm[] args
Constructor Detail

POp

public POp(org.jdom.Element e)

POp

public POp(java.lang.String _op)

POp

public POp(java.lang.String _op,
           PTerm first)

POp

public POp(java.lang.String _op,
           PTerm first,
           PTerm second)

POp

public POp(PTerm[] l)

POp

public POp(PTerm[] l,
           java.lang.String _op)
Method Detail

getElements

public PTerm[] getElements()

getOp

public java.lang.String getOp()

toXml

public java.lang.String toXml(java.lang.String indent)
Specified by:
toXml in interface PTerm

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright 2002 Research Institute for Advanced Computer Science. All Rights Reserved.