com.ugos.JIProlog.engine
Class JIPString

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

public class JIPString
extends JIPTerm

JIPString wraps to a prolog string.
A prolog string is a list af ASCII characters contained in the string.

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

Method Summary
static JIPString create(JIPList string)
          Creates a new JIPString object from a list of characters
static JIPString create(java.lang.String strString)
          Creates a new JIPString object from a string
 java.lang.String getValue()
          Returns the string
 
Methods inherited from class com.ugos.JIProlog.engine.JIPTerm
clear, 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 JIPString create(java.lang.String strString)
Creates a new JIPString object from a string

Parameters:
strString - JIPString object from a string

create

public static final JIPString create(JIPList string)
Creates a new JIPString object from a list of characters

Parameters:
string - JIPList object

getValue

public final java.lang.String getValue()
Returns the string