Class 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 its main method.
    Since:
    18 Sep 2014
    Author:
    Mark Taylor
    • 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.
      • 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 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