org.odftoolkit.odfvalidator
Enum ODFValidationResult.Status

java.lang.Object
  extended by java.lang.Enum<ODFValidationResult.Status>
      extended by org.odftoolkit.odfvalidator.ODFValidationResult.Status
All Implemented Interfaces:
Serializable, Comparable<ODFValidationResult.Status>
Enclosing class:
ODFValidationResult

public static enum ODFValidationResult.Status
extends Enum<ODFValidationResult.Status>


Enum Constant Summary
CONFORMING
          The document is conforming to a particular conformance level.
NON_CONFORMING
          The document is non conforming to a particular conformance level.
NOT_APPLICABLE
          The conformance level is not applicable to the specified file.
UNKNOWN
          It is unknown whether the document conforms to a particular level.
 
Method Summary
static ODFValidationResult.Status valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ODFValidationResult.Status[] 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

NON_CONFORMING

public static final ODFValidationResult.Status NON_CONFORMING
The document is non conforming to a particular conformance level.


CONFORMING

public static final ODFValidationResult.Status CONFORMING
The document is conforming to a particular conformance level.


UNKNOWN

public static final ODFValidationResult.Status UNKNOWN
It is unknown whether the document conforms to a particular level.


NOT_APPLICABLE

public static final ODFValidationResult.Status NOT_APPLICABLE
The conformance level is not applicable to the specified file.

Method Detail

values

public static ODFValidationResult.Status[] 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 (ODFValidationResult.Status c : ODFValidationResult.Status.values())
    System.out.println(c);

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

valueOf

public static ODFValidationResult.Status 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 © 2008–2017 The Apache Software Foundation. All rights reserved.