opennlp.leo.prolog
Class PBrackList

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

public class PBrackList
extends PList

Java representation of a bracketed Prolog list.

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

Field Summary
 PVar tail
           
 
Fields inherited from class opennlp.leo.prolog.PList
list, listop
 
Constructor Summary
PBrackList(org.jdom.Element e)
           
PBrackList(PTerm[] l)
           
 
Method Summary
 void addTail(PVar t)
           
 PVar getTail()
           
 boolean hasTail()
           
 java.lang.String toString()
           
 java.lang.String toXml(java.lang.String indent)
           
 
Methods inherited from class opennlp.leo.prolog.PList
getElements, toSpaceSeparatedString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tail

public PVar tail
Constructor Detail

PBrackList

public PBrackList(org.jdom.Element e)

PBrackList

public PBrackList(PTerm[] l)
Method Detail

hasTail

public boolean hasTail()

getTail

public PVar getTail()

addTail

public void addTail(PVar t)

toXml

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

toString

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


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