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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
list
public PTerm[] list
listop
public java.lang.String listop
PList
public PList(org.jdom.Element e)
PList
public PList(PTerm[] l)
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.