jtp.ui.rs
Class SentenceFormatPlain
java.lang.Object
|
+--java.text.Format
|
+--jtp.ui.rs.SentenceFormatPlain
- All Implemented Interfaces:
- Cloneable, Serializable
- Direct Known Subclasses:
- KIFSentenceFormatPlain
- public abstract class SentenceFormatPlain
- extends Format
SentenceFormat.java
Created: Wed Feb 20 21:36:35 2002
- See Also:
- Serialized Form
Method Summary |
abstract StringBuffer |
format(Clause cl,
StringBuffer sb,
FieldPosition ignored)
|
abstract StringBuffer |
format(CNFSentence s,
StringBuffer sb,
FieldPosition ignored)
|
abstract StringBuffer |
format(Literal l,
StringBuffer sb,
FieldPosition ignored)
|
StringBuffer |
format(Object o,
StringBuffer sb,
FieldPosition ignored)
|
protected abstract StringBuffer |
formatKeyword(String kw,
StringBuffer sb)
|
Format |
getKeywordFormat()
Get the value of keywordFormat. |
UnambiguousFormat |
getSymbolFormat()
|
UnambiguousFormat |
getVariableFormat()
|
Object |
parseObject(String param1,
ParsePosition param2)
|
void |
setKeywordFormat(Format v)
Set the value of keywordFormat. |
SentenceFormatPlain
public SentenceFormatPlain()
getKeywordFormat
public Format getKeywordFormat()
- Get the value of keywordFormat.
- Returns:
- value of keywordFormat.
setKeywordFormat
public void setKeywordFormat(Format v)
- Set the value of keywordFormat.
- Parameters:
v
- Value to assign to keywordFormat.
getSymbolFormat
public UnambiguousFormat getSymbolFormat()
getVariableFormat
public UnambiguousFormat getVariableFormat()
format
public StringBuffer format(Object o,
StringBuffer sb,
FieldPosition ignored)
- Specified by:
format
in class Format
- Returns:
format
public abstract StringBuffer format(CNFSentence s,
StringBuffer sb,
FieldPosition ignored)
format
public abstract StringBuffer format(Clause cl,
StringBuffer sb,
FieldPosition ignored)
format
public abstract StringBuffer format(Literal l,
StringBuffer sb,
FieldPosition ignored)
formatKeyword
protected abstract StringBuffer formatKeyword(String kw,
StringBuffer sb)
parseObject
public Object parseObject(String param1,
ParsePosition param2)
- Specified by:
parseObject
in class Format