public class XMLOutputOperator
extends org.fit.layout.impl.BaseOperator
| Modifier and Type | Field and Description |
|---|---|
protected String |
filename
Path to the output file/
|
protected String[] |
paramNames |
protected org.fit.layout.api.ParametrizedOperation.ValueType[] |
paramTypes |
protected boolean |
produceHeader
Should we produce the XML header?
|
| Constructor and Description |
|---|
XMLOutputOperator() |
XMLOutputOperator(String filename,
boolean produceHeader) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(org.fit.layout.model.AreaTree atree) |
void |
apply(org.fit.layout.model.AreaTree atree,
org.fit.layout.model.Area root) |
String |
colorString(String spec)
Converts the CSS specification rgb(r,g,b) to #rrggbb
|
void |
dumpTo(org.fit.layout.model.AreaTree tree,
PrintWriter out)
Formats the complete tag tree to an output stream
|
String |
getDescription() |
String |
getFilename() |
String |
getId() |
String |
getName() |
String[] |
getParamNames() |
org.fit.layout.api.ParametrizedOperation.ValueType[] |
getParamTypes() |
boolean |
getProduceHeader() |
void |
setFilename(String filename) |
void |
setProduceHeader(boolean produceHeader) |
protected boolean produceHeader
protected String filename
protected final String[] paramNames
protected final org.fit.layout.api.ParametrizedOperation.ValueType[] paramTypes
public XMLOutputOperator()
public XMLOutputOperator(String filename, boolean produceHeader)
public String getId()
public String getName()
public String getDescription()
public String[] getParamNames()
public org.fit.layout.api.ParametrizedOperation.ValueType[] getParamTypes()
public boolean getProduceHeader()
public void setProduceHeader(boolean produceHeader)
public String getFilename()
public void setFilename(String filename)
public void apply(org.fit.layout.model.AreaTree atree)
public void apply(org.fit.layout.model.AreaTree atree,
org.fit.layout.model.Area root)
public void dumpTo(org.fit.layout.model.AreaTree tree,
PrintWriter out)
Copyright © 2015. All rights reserved.