JTP API Documentation

jtp.fol.kif
Class SymbolFormat

java.lang.Object
  |
  +--java.text.Format
        |
        +--jtp.fol.kif.SymbolFormat
All Implemented Interfaces:
Cloneable, Serializable

public class SymbolFormat
extends Format

See Also:
Serialized Form

Constructor Summary
SymbolFormat()
           
 
Method Summary
 StringBuffer format(Object obj, StringBuffer toAppendTo, FieldPosition pos)
           
 StringBuffer format(Symbol sym, StringBuffer toAppendTo)
           
 Map getPackageNameSpaceMap()
          Get the value of the map from short names of packages to their full names.
 Symbol parse(String s)
           
 Symbol parse(String s, ParsePosition status)
           
 Object parseObject(String source, ParsePosition status)
           
 void setPackageNameSpaceMap(Map v)
          Set the value of the map from short names of packages to their full names.
 
Methods inherited from class java.text.Format
clone, format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolFormat

public SymbolFormat()
Method Detail

getPackageNameSpaceMap

public Map getPackageNameSpaceMap()
Get the value of the map from short names of packages to their full names.

Returns:
value of packageNameSpaceMap.

setPackageNameSpaceMap

public void setPackageNameSpaceMap(Map v)
Set the value of the map from short names of packages to their full names.

Parameters:
v - Value to assign to packageNameSpaceMap.

parseObject

public Object parseObject(String source,
                          ParsePosition status)
Specified by:
parseObject in class Format

parse

public Symbol parse(String s)

parse

public Symbol parse(String s,
                    ParsePosition status)

format

public StringBuffer format(Object obj,
                           StringBuffer toAppendTo,
                           FieldPosition pos)
Specified by:
format in class Format

format

public StringBuffer format(Symbol sym,
                           StringBuffer toAppendTo)

JTP API Documentation