Package uk.ac.starlink.ttools.build
Class LayersWriter
- java.lang.Object
-
- uk.ac.starlink.ttools.build.LayersWriter
-
public class LayersWriter extends java.lang.Object
Write XML text describing LayerTypes available to given TypedPlot2Tasks. This class is designed to be used from itsmain
method.- Since:
- 18 Sep 2014
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description LayersWriter(TypedPlot2Task<?,?> task)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getXml()
Returns XML text describing available layers for this writer's task.static void
main(java.lang.String[] args)
With an arg: writes description for that TypedPlot2Task.
-
-
-
Constructor Detail
-
LayersWriter
public LayersWriter(TypedPlot2Task<?,?> task)
Constructor.- Parameters:
task
- for which to write docs
-
-
Method Detail
-
getXml
public java.lang.String getXml()
Returns XML text describing available layers for this writer's task.- Returns:
- <p> element(s)
-
main
public static void main(java.lang.String[] args) throws uk.ac.starlink.util.LoadException, java.io.IOException
With an arg: writes description for that TypedPlot2Task. Without args: writes descriptions for all to current directory.- Throws:
uk.ac.starlink.util.LoadException
java.io.IOException
-
-