uk.ac.starlink.ttools.build
Class LayersWriter

java.lang.Object
  extended by uk.ac.starlink.ttools.build.LayersWriter

public class LayersWriter
extends Object

Write XML text describing LayerTypes available to given TypedPlot2Tasks. This class is designed to be used from its main method.

Since:
18 Sep 2014
Author:
Mark Taylor

Constructor Summary
LayersWriter(TypedPlot2Task task)
          Constructor.
 
Method Summary
 String getXml()
          Returns XML text describing available layers for this writer's task.
static void main(String[] args)
          With an arg: writes description for that TypedPlot2Task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayersWriter

public LayersWriter(TypedPlot2Task task)
Constructor.

Parameters:
task - for which to write docs
Method Detail

getXml

public String getXml()
Returns XML text describing available layers for this writer's task.

Returns:
<p> element(s)

main

public static void main(String[] args)
                 throws LoadException,
                        IOException
With an arg: writes description for that TypedPlot2Task. Without args: writes descriptions for all to current directory.

Throws:
LoadException
IOException


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.