opennlp.leo.prolog
Class PAtom

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

public class PAtom
extends java.lang.Object
implements PTerm

Java representation of a Prolog atom.

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

Field Summary
 java.lang.String atom
           
 
Constructor Summary
PAtom(org.jdom.Element e)
           
PAtom(java.lang.String a)
           
 
Method Summary
 java.lang.String getValue()
           
static boolean isInteger(java.lang.String s)
           
 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

atom

public java.lang.String atom
Constructor Detail

PAtom

public PAtom(org.jdom.Element e)

PAtom

public PAtom(java.lang.String a)
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

isInteger

public static boolean isInteger(java.lang.String s)


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