uk.ac.starlink.ttools.taplint
Enum XsdStage.Result

java.lang.Object
  extended by java.lang.Enum<XsdStage.Result>
      extended by uk.ac.starlink.ttools.taplint.XsdStage.Result
All Implemented Interfaces:
Serializable, Comparable<XsdStage.Result>
Enclosing class:
XsdStage

public static enum XsdStage.Result
extends Enum<XsdStage.Result>

Enumerates possible results of the parse.


Enum Constant Summary
FAILURE
          A serious error prevented the validation from completing.
NOT_FOUND
          The document did not exist (for instance an HTTP 404).
SUCCESS
          The validation completed, possibly with some errors or warnings.
 
Method Summary
static XsdStage.Result valueOf(String name)
          Returns the enum constant of this type with the specified name.
static XsdStage.Result[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_FOUND

public static final XsdStage.Result NOT_FOUND
The document did not exist (for instance an HTTP 404).


FAILURE

public static final XsdStage.Result FAILURE
A serious error prevented the validation from completing.


SUCCESS

public static final XsdStage.Result SUCCESS
The validation completed, possibly with some errors or warnings.

Method Detail

values

public static XsdStage.Result[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (XsdStage.Result c : XsdStage.Result.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static XsdStage.Result valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


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