|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gr.forth.ics.vrp.corevrp.Main
Main.java - Containing the main method.
| Field Summary | |
static int |
error_counter
A global error counter. |
static MyPanel |
gui
VRP GUI. |
static parser |
p_all
Will be used mainly by the RDF_Error.class. |
static Output |
Print
VRP Output. |
static int |
warning_counter
A global warning counter. |
| Constructor Summary | |
Main()
|
|
| Method Summary | |
void |
enableModelStatistics(int i,
boolean b)
Set the desired model statistics enableModelStatistics(0, true): Prints the number of triples, RDF class, properties, containers, statements and resources found in the input file enableModelStatistics(1, true): For subclass hierarchy, prints the number of classes contained, the average/maximum number of subclasses and the average/maximum number length of the paths enableModelStatistics(2, true): similar to enableModelStatistics(1, true) for property hierachy enableModelStatistics(3, true): Prints the number of instances per classes enableModelStatistics(4, true): Similar to enableModelStatistics(1, true) but prints the statistics for every subclass hierarchy enableModelStatistics(5, true): Similar to enableModelStatisticsenableModelStatistics(2, true) but prints the statistics for every subproperty hierarchy and not totally |
static boolean |
getnoerrormsg()
Returns whether the VRP error messages will not displayed. |
static String |
getOutputFile()
Returns the name of the output file where are written VRP messages. |
boolean |
isModelStatisticsEnabled(int i)
Returns true if the modelStatistics option which corresponds to the integer i. |
static void |
main(String[] args)
The main method. |
void |
setclassLoop(boolean b)
Enables/disables the constraint 'Class Hierarchy Loops': No loops are permitted in the subclass hierarchy. |
void |
setdebug(boolean b)
Sets whether the Lexer will print the token names and token values it creates. |
void |
setfetch_all(boolean b)
Sets whether VRP will connect to namespaces stated in the NS declaration and enter all triples or not. |
void |
setgraph(boolean b)
Sets whether the textual representation of the created RDF graph. |
void |
setGUI(MyPanel f)
Sets the VRP GUI. |
void |
setinheritance(boolean b)
Sets whether inheritance on the domain/range of properties will be performed. |
void |
setmodeloptions(Model m)
Setting all the options of the Model according to the options setted here. |
void |
setnoerrormsg(boolean b)
Sets whether the VRP error messages will not displayed. |
void |
setonly(boolean b)
Setting this option only syntactic validation will be performed and no model will be created. |
void |
setOutputFile(String outfile)
Sets the output file where are written VRP messages. |
void |
setparseroptions(parser p)
Setting all the options of the parser according to the options setted here. |
void |
setpropertyLoop(boolean b)
Enables/disables the constraint 'Property Hierarchy Loops': No loops are permitted in the subproperty hierarchy. |
void |
setSelectedNS(HashSet selectedNSURI)
|
void |
setsimple(boolean b)
Sets the simple lexer for the syntactic validation. |
void |
setsourceTargetTypes(boolean b)
Enables/disables the constraint 'Source/Target Resources of properties': The source/target values of a property should be instances of the domain/range classes of the property. |
void |
setstatements(boolean b)
Sets whether the triples included in the VRP model will be printed. |
void |
setsubsetSubpropertyDomainRange(boolean b)
Enables/disables the constraint Domain/Range of SubProperties: The domain/range of a property should be subset of the domain/range of its superproperties. |
void |
setsvg(boolean b)
Sets whether the svg graphic representation of the created RDFS schema. |
void |
setsvgoutput(String out)
|
void |
setsvgsize(int w,
int h)
|
void |
settimeStatistics(boolean b)
Sets whether time statistics will be reported. |
void |
settriples(boolean b)
Sets whether the triples produced by the parser for the input RDF descriptions will be printed. |
void |
setTypeInfer(boolean b)
Sets whether inheritance on the types of objects will be performed. |
void |
settyping(boolean b)
Enables/disables the constraint 'Types of Resources': The resources used as RDF Classes, Properties, Containers and Stataments should have been assigned the respective RDF type. |
void |
setvalidatoroptions(RDF_Validator v)
Setting all the options of the Validator according to the options setted here. |
void |
setverbose(boolean b)
Sets whether messages about the actions performed by the VRP will be reported. |
Model |
start(String Name)
Create and start the parser and the validator. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static parser p_all
public static int error_counter
public static MyPanel gui
public static Output Print
public static int warning_counter
| Constructor Detail |
public Main()
| Method Detail |
public static String getOutputFile()
public void setOutputFile(String outfile)
public void setnoerrormsg(boolean b)
public static boolean getnoerrormsg()
public void setclassLoop(boolean b)
setpropertyLoop,
setsubsetSubpropertyDomainRange,
settyping,
setsourceTargetTypes,
setfetch_all,
setinheritancepublic void settyping(boolean b)
setclassLoop,
setpropertyLoop,
setsubsetSubpropertyDomainRange,
setsourceTargetTypes,
setfetch_all,
setinheritancepublic void setinheritance(boolean b)
public void setTypeInfer(boolean b)
public void setpropertyLoop(boolean b)
setclassLoop,
setsubsetSubpropertyDomainRange,
settyping,
setsourceTargetTypes,
setfetch_all,
setinheritancepublic void setsourceTargetTypes(boolean b)
setclassLoop,
setpropertyLoop,
setsubsetSubpropertyDomainRange,
settyping,
setfetch_all,
setinheritancepublic void setsubsetSubpropertyDomainRange(boolean b)
setclassLoop,
setpropertyLoop,
settyping,
setsourceTargetTypes,
setfetch_all,
setinheritancepublic void setfetch_all(boolean b)
public void setdebug(boolean b)
public void setgraph(boolean b)
public void setsvg(boolean b)
public void setonly(boolean b)
public void setsimple(boolean b)
Lexer_Simplepublic void setstatements(boolean b)
settriples,
setfetch_all,
setinheritancepublic void settriples(boolean b)
public void setverbose(boolean b)
public void settimeStatistics(boolean b)
public void setSelectedNS(HashSet selectedNSURI)
public void enableModelStatistics(int i,
boolean b)
public boolean isModelStatisticsEnabled(int i)
enableModelStatisticspublic void setsvgoutput(String out)
public void setsvgsize(int w,
int h)
public void setGUI(MyPanel f)
public Model start(String Name)
public void setparseroptions(parser p)
public void setmodeloptions(Model m)
public void setvalidatoroptions(RDF_Validator v)
public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||