|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.meyling.principia.argument.AbstractArgument
|
+--com.meyling.principia.argument.AbstractDynamicArgumentList
|
+--com.meyling.principia.logic.paragraph.Paragraph
A paragraph is an axiom, an abbreviation or a proposition of a mathematical theory.
| Field Summary | |
private String |
followingText
this text follows the paragraph |
private String |
label
the paragraph could be referenced by this label |
private ParagraphCheck |
paragraphCheck
Abbreviation, Axiom, Proposition, or whatever |
private String |
preceedingText
this text preceeds the paragraph |
| Fields inherited from class com.meyling.principia.argument.AbstractDynamicArgumentList |
arguments |
| Constructor Summary | |
Paragraph(Argument[] arguments)
Constructs a paragraph. |
|
| Method Summary | |
void |
check(Module module)
Check if this paragraph could be added. |
Argument |
create(Argument[] arguments)
Create a new Argument with given arguments. |
String |
getFollowingText()
Get the following text of this paragraph. |
String |
getLabel()
Get the label of this paragraph. |
ParagraphCheck |
getParagraphCheck()
Get the meat of this paragraph. |
String |
getPreceedingText()
Get the preceeding text of this paragraph. |
String |
toString()
Get the argument in String form. |
| Methods inherited from class com.meyling.principia.argument.AbstractDynamicArgumentList |
add, copy, getArgument, getArgumentSize, insert, remove, replace |
| Methods inherited from class com.meyling.principia.argument.AbstractArgument |
containsPatternVariables, equals, getHighestNumber, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches |
| Methods inherited from class java.lang.Object |
|
| Methods inherited from interface com.meyling.principia.argument.Argument |
containsPatternVariables, copy, equals, getArgument, getArgumentSize, getPatternVariables, getReplacementParents, getSearchParents, hashCode, matches, matches, replace, replace, replace, replaceMatches |
| Field Detail |
private final String label
private String preceedingText
private String followingText
private final ParagraphCheck paragraphCheck
| Constructor Detail |
public Paragraph(Argument[] arguments)
throws ArgumentException
arguments - list of argumentsArgumentException - if argument list is not
like LinkLabel
Text?
(Abbreviation | Axiom
| Proposition)
Text?
the question mark is for an optional argument the pipe symbol is an exclusive "or"
| Method Detail |
public final String getLabel()
public final String getPreceedingText()
public final String getFollowingText()
public final ParagraphCheck getParagraphCheck()
Axiom, Abbreviation,
Proposition, etc.
public final void check(Module module)
throws ArgumentException
module - moduleArgumentException - if addition is impossible
public final Argument create(Argument[] arguments)
throws ArgumentException
Argumentcreate in interface Argumentcreate in class AbstractDynamicArgumentListcom.meyling.principia.argument.Argumentarguments - with these arguments the operator should
be createdArgumentException - if creation failedpublic final String toString()
ArgumentString form.toString in interface ArgumenttoString in class AbstractDynamicArgumentListcom.meyling.principia.argument.Argument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||