opennlp.leo.prolog
Class PVar

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

public class PVar
extends java.lang.Object
implements PTerm

Java representation of a Prolog variable.

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

Field Summary
 java.lang.String var
           
 
Constructor Summary
PVar(org.jdom.Element e)
           
PVar(java.lang.String v)
           
 
Method Summary
 java.lang.String getValue()
           
 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

var

public java.lang.String var
Constructor Detail

PVar

public PVar(org.jdom.Element e)

PVar

public PVar(java.lang.String v)
Method Detail

getValue

public java.lang.String getValue()

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.