opennlp.leo.prolog
Class PPred

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

public class PPred
extends java.lang.Object
implements PTerm

Java representation of a Prolog predicate-argument term.

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

Field Summary
 PTerm[] args
           
 PAtom pred
           
 
Constructor Summary
PPred(org.jdom.Element e)
           
PPred(PAtom p, PTerm[] a)
           
 
Method Summary
 PTerm[] getArgs()
           
 PAtom getAtom()
           
 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

pred

public PAtom pred

args

public PTerm[] args
Constructor Detail

PPred

public PPred(org.jdom.Element e)

PPred

public PPred(PAtom p,
             PTerm[] a)
Method Detail

getAtom

public PAtom getAtom()

getArgs

public PTerm[] getArgs()

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.