|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucot.output.Output
public class Output
Simple outputer that prints AnalyzeModel to the standard output.
Field Summary | |
---|---|
private java.util.Properties |
options
|
Constructor Summary | |
---|---|
Output()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns adapter's name |
java.util.Properties |
getOptions()
Returns adapter's options |
private java.lang.String |
getStringFor(AnalyzeModel model,
Thing i,
java.lang.String preString,
java.util.Set<Thing> handled)
Creates string representation for given thing. |
void |
output(AnalyzeModel model,
java.net.URL url)
Outputs analyze model. |
void |
output(AnalyzeModel model,
java.net.URL url,
java.lang.String preString)
|
void |
setOptions(java.util.Properties options)
Sets options for the adapter |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Properties options
Constructor Detail |
---|
public Output()
Method Detail |
---|
private java.lang.String getStringFor(AnalyzeModel model, Thing i, java.lang.String preString, java.util.Set<Thing> handled)
model
- AnalyzeModel which is used to get futher relations.i
- the thing the string is wanted for.preString
- String that is added before the representation (basically the indentation).
param handled Set of already handled things so we dont crash on loop relations.
public void output(AnalyzeModel model, java.net.URL url)
OutputInterface
output
in interface OutputInterface
model
- Analyze model to outputpublic void output(AnalyzeModel model, java.net.URL url, java.lang.String preString)
public java.lang.String getName()
OutputInterface
getName
in interface OutputInterface
public void setOptions(java.util.Properties options)
OutputInterface
setOptions
in interface OutputInterface
options
- options for the adapterpublic java.util.Properties getOptions()
OutputInterface
getOptions
in interface OutputInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |