com.ugos.JIProlog.engine
Class JIPAtom

java.lang.Object
  |
  +--com.ugos.JIProlog.engine.JIPTerm
        |
        +--com.ugos.JIProlog.engine.JIPAtom
All Implemented Interfaces:
com.ugos.JIProlog.engine.Clearable, java.lang.Cloneable, java.io.Serializable

public class JIPAtom
extends JIPTerm
implements com.ugos.JIProlog.engine.Clearable

JIPAtom wraps a prolog atom

Version:
2.0
Author:
Ugo Chirico 2002
Home Page : http://www.ugosweb.com/jiprolog
See Also:
JIPTerm, Serialized Form

Method Summary
 void clear()
          Clears all variables in this JIPTerm object.
static JIPAtom create(java.lang.String strName)
          Creates a new JIPAtom object from a string
 java.lang.String getName()
          Returns a string rapresentation of this atom
 
Methods inherited from class com.ugos.JIProlog.engine.JIPTerm
clone, getVariables, getVariablesTable, toString, toString, toStringq, unifiable, unify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static final JIPAtom create(java.lang.String strName)
Creates a new JIPAtom object from a string

Parameters:
strName - the atom as string
Returns:
a new JIPAtom object from a string

getName

public final java.lang.String getName()
Returns a string rapresentation of this atom


clear

public void clear()