Class CapabilityStage

    • Constructor Summary

      Constructors 
      Constructor Description
      CapabilityStage()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static uk.ac.starlink.vo.TapCapability checkCapabilities​(Reporter reporter, java.net.URL capUrl)
      Performs validation checks on a TAPRegExt document at a given URL.
      uk.ac.starlink.vo.TapCapability getCapability()
      Returns the TAP capability record obtained by the last run of this stage.
      java.lang.String getDescription()
      Returns a short one-line description of this stage.
      static void main​(java.lang.String[] args)
      Can be used for standalone validation of a Capabilities document at a given URL.
      void run​(Reporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet)
      Performs the validation checks for this stage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CapabilityStage

        public CapabilityStage()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Stage
        Returns a short one-line description of this stage.
        Specified by:
        getDescription in interface Stage
        Returns:
        description in imperative mood
      • getCapability

        public uk.ac.starlink.vo.TapCapability getCapability()
        Returns the TAP capability record obtained by the last run of this stage.
        Specified by:
        getCapability in interface CapabilityHolder
        Returns:
        tap capability object
      • run

        public void run​(Reporter reporter,
                        uk.ac.starlink.vo.EndpointSet endpointSet)
        Description copied from interface: Stage
        Performs the validation checks for this stage.
        Specified by:
        run in interface Stage
        Parameters:
        reporter - destination for validation messages
        endpointSet - locations of TAP service endpoints
      • checkCapabilities

        public static uk.ac.starlink.vo.TapCapability checkCapabilities​(Reporter reporter,
                                                                        java.net.URL capUrl)
        Performs validation checks on a TAPRegExt document at a given URL.
        Parameters:
        reporter - destination for validation messages
        capUrl - URL of a Capabilities document
      • main

        public static void main​(java.lang.String[] args)
                         throws java.net.MalformedURLException
        Can be used for standalone validation of a Capabilities document at a given URL.
        Throws:
        java.net.MalformedURLException