org.odftoolkit.odfvalidator
public enum OdfValidatorMode extends Enum<OdfValidatorMode>
Enum Constant and Description |
---|
CONFORMANCE
all versions
|
EXTENDED_CONFORMANCE
ODF 1.2 only, equals CONFORMANCE for ODF 1.0/1.1
|
VALIDATE
ODF 1.0 and 1.1 only, equals CONFORMANCE for ODF 1.2
|
VALIDATE_STRICT
ODF 1.0 and 1.1 only, equals CONFORMANCE for ODF 1.2
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static OdfValidatorMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdfValidatorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdfValidatorMode CONFORMANCE
public static final OdfValidatorMode VALIDATE
public static final OdfValidatorMode VALIDATE_STRICT
public static final OdfValidatorMode EXTENDED_CONFORMANCE
public static OdfValidatorMode[] values()
for (OdfValidatorMode c : OdfValidatorMode.values()) System.out.println(c);
public static OdfValidatorMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<OdfValidatorMode>
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.