sl
Class SL0Encoder

java.lang.Object
  extended bysl.SL0Encoder

class SL0Encoder
extends java.lang.Object

Version:
$Date: 2003/10/09 13:00:37 $ $Revision: 1.1.1.1 $
Author:
Giovanni Rimassa - Universita` di Parma

Constructor Summary
(package private) SL0Encoder()
           
 
Method Summary
 java.lang.String encode(Frame f)
           
private  boolean isAToken(java.lang.String str)
          If this is a token of the language, then it must be quoted.
private  boolean isFrame(java.lang.Object f)
           
private  boolean mustBeQuoted(java.lang.String s)
           
private  void writeFrame(Frame f, java.io.Writer w)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SL0Encoder

SL0Encoder()
Method Detail

encode

public java.lang.String encode(Frame f)

writeFrame

private void writeFrame(Frame f,
                        java.io.Writer w)
                 throws java.io.IOException,
                        OntologyException,
                        CodecException
Throws:
java.io.IOException
OntologyException
CodecException

mustBeQuoted

private boolean mustBeQuoted(java.lang.String s)

isAToken

private boolean isAToken(java.lang.String str)
If this is a token of the language, then it must be quoted.


isFrame

private boolean isFrame(java.lang.Object f)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.