opennlp.leo.prolog
Class PList

java.lang.Object
  |
  +--opennlp.leo.prolog.PList
All Implemented Interfaces:
PTerm
Direct Known Subclasses:
PBrackList

public class PList
extends java.lang.Object
implements PTerm

Java representation of a Prolog list.

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

Field Summary
 PTerm[] list
           
 java.lang.String listop
           
 
Constructor Summary
PList(org.jdom.Element e)
           
PList(PTerm[] l)
           
 
Method Summary
 PTerm[] getElements()
           
 java.lang.String toSpaceSeparatedString()
           
 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

list

public PTerm[] list

listop

public java.lang.String listop
Constructor Detail

PList

public PList(org.jdom.Element e)

PList

public PList(PTerm[] l)
Method Detail

getElements

public PTerm[] getElements()

toSpaceSeparatedString

public java.lang.String toSpaceSeparatedString()

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.