Enum DocumentProcessor.ProcessingPhase
- java.lang.Object
-
- java.lang.Enum<DocumentProcessor.ProcessingPhase>
-
- com.levigo.jadice.server.documentplatform.DocumentProcessor.ProcessingPhase
-
- All Implemented Interfaces:
Serializable
,Comparable<DocumentProcessor.ProcessingPhase>
- Enclosing interface:
- DocumentProcessor
public static enum DocumentProcessor.ProcessingPhase extends Enum<DocumentProcessor.ProcessingPhase>
The different processing phases of the reshaping process in which theDocumentProcessor
will be called.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description POST_READING
TheDocument
was read successfullyPRE_READING
A newReader
has been created and configured, but no reading action has taken place so far; the givenDocument
is empty.PRE_RENDERING
TheDocument
was pre-processed successfully and is just before the reshaping (rendering) processing phase
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentProcessor.ProcessingPhase
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentProcessor.ProcessingPhase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRE_READING
public static final DocumentProcessor.ProcessingPhase PRE_READING
A newReader
has been created and configured, but no reading action has taken place so far; the givenDocument
is empty.
-
POST_READING
public static final DocumentProcessor.ProcessingPhase POST_READING
TheDocument
was read successfully
-
PRE_RENDERING
public static final DocumentProcessor.ProcessingPhase PRE_RENDERING
TheDocument
was pre-processed successfully and is just before the reshaping (rendering) processing phase
-
-
Method Detail
-
values
public static DocumentProcessor.ProcessingPhase[] 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 (DocumentProcessor.ProcessingPhase c : DocumentProcessor.ProcessingPhase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentProcessor.ProcessingPhase 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 nameNullPointerException
- if the argument is null
-
-