|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectubiware.core.ProduceN3Options
public class ProduceN3Options
Options for producing N3, those options are passed to SaplN3 when Producing an S-APL N3 String from beliefs of the agent.
23.6.2010
| Field Summary | |
|---|---|
boolean |
cleanContent
Should certain content be cleaned from the output? Check SaplN3Producer implementation for what gets removed exactly. |
static ProduceN3Options |
defaultOptions
|
boolean |
includeRules
Should rules be included in the output (The ones in sapl:Rule or sapl:MetaRule context? If false and the S-APL contains rules, "Contents are skipped" is added to the output instead of the rules. |
boolean |
indents
Should the produced S-APL N3 code use indentation (More readable, more verbose) |
boolean |
useNameSpaces
Should prefixes be used (true) or should the string contain the whole namespace name for every resource(false) |
| Constructor Summary | |
|---|---|
ProduceN3Options(boolean indents,
boolean useNameSpaces)
Identical to ProduceN3Options(indents, true, useNameSpaces, false) |
|
ProduceN3Options(boolean indents,
boolean includeRules,
boolean useNameSpaces,
boolean cleanContent)
Create a options object for SaplN3 generation |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static ProduceN3Options defaultOptions
public final boolean indents
public final boolean includeRules
public final boolean useNameSpaces
public final boolean cleanContent
SaplN3Producer implementation for what gets removed exactly. Don't
use this feature without knowing what it does!
| Constructor Detail |
|---|
public ProduceN3Options(boolean indents,
boolean useNameSpaces)
indents - Should indentation be used?useNameSpaces - Should prefixes be used?
public ProduceN3Options(boolean indents,
boolean includeRules,
boolean useNameSpaces,
boolean cleanContent)
indents - Should indentation be used?includeRules - Should rules be included in the result?useNameSpaces - Should prefixes be used?cleanContent - Should certain content be cleaned?
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||