|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.meyling.principia.logic.paragraph.ParagraphCreator
This class provides static methods for reading and
writing an Argument.
| Field Summary | |
static String |
PARAGRAPH_ABBREVIATION
string for an Abbreviation |
static String |
PARAGRAPH_AXIOM
string for an Axiom |
static String |
PARAGRAPH_LINK_LABEL
string for a LinkLabel |
static String |
PARAGRAPH_PARAGRAPH
string for a Paragraph |
static String |
PARAGRAPH_PROOF_LINE
string for a ProofLine |
static String |
PARAGRAPH_PROOF_LINE_LIST
string for a ProofLineList |
static String |
PARAGRAPH_PROPOSITION
string for a Proposition |
static String |
PARAGRAPH_RULE_DECLARATION
|
static String |
PARAGRAPH_SENTENCE
string for a Sentence |
| Constructor Summary | |
ParagraphCreator()
|
|
| Method Summary | |
static Map |
getMap()
Get the mapping of Strings to operator classes. |
static String |
getName(Class clazz)
Get name of known operator class. |
static Argument |
readArgument(TextInput input,
ParsingTable parsing)
Create an Argument out of an TextInput object. |
static String |
writeArgument(Argument argument)
Write an Argument to an String. |
static void |
writeArgument(Output output,
Argument argument)
Write an Argument to an Output object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String PARAGRAPH_PROOF_LINE
ProofLine
public static final String PARAGRAPH_PROOF_LINE_LIST
ProofLineList
public static final String PARAGRAPH_ABBREVIATION
Abbreviation
public static final String PARAGRAPH_AXIOM
Axiom
public static final String PARAGRAPH_SENTENCE
Sentence
public static final String PARAGRAPH_LINK_LABEL
LinkLabel
public static final String PARAGRAPH_PROPOSITION
Proposition
public static final String PARAGRAPH_PARAGRAPH
Paragraph
public static final String PARAGRAPH_RULE_DECLARATION
| Constructor Detail |
public ParagraphCreator()
| Method Detail |
public static final Map getMap()
public static final String getName(Class clazz)
throws IllegalArgumentException
clazz - look for name of this class
IllegalArgumentException - if operator class c
is unknown
public static final Argument readArgument(TextInput input,
ParsingTable parsing)
throws ParsingException
Argument out of an TextInput object.
input - source to read fromparsing - maps Arguments into Positions
ParsingException - if creation failed
public static final void writeArgument(Output output,
Argument argument)
throws IllegalArgumentException
Argument to an Output object.
output - destination to write toargument - this object will be written
IllegalArgumentException - if writing failed
public static final String writeArgument(Argument argument)
throws IllegalArgumentException
Argument to an String.
argument - this object will be written
IllegalArgumentException - if writing failed
|
Hilbert II - JAVA-Packages - Principia Mathematica II | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ©left GNU General Public Licence All Rights Reserved. |