Package com.arbortext.e3c
Interface E3ServerCompositionResult
public interface E3ServerCompositionResult
Describes the result of a composition operation under the E3 server
composisition application.
This object appears in two contexts that are visible to customizers of the E3 composition application.
First, its content is set by a E3 Composition Application Extension after the extension performs some composition operation.
Second, its content is passed to the client machine in the JAR file that is returned as part of the response to a composition request sent to the E3 Composition Application.
-
Method Summary
Modifier and TypeMethodDescriptionAccessor for the error file entry.Accessoor for output directory prefixAccessor for output file entrybooleanAccessor for 'success' flagvoidEncodes our content as an XML documentvoidsetErrorFileEntry(String newValue) Stores a new error file entry value.voidsetOutputDirPrefix(String newValue) Stores a new output directory prefix value.voidsetOutputFileEntry(String newValue) Stores a new output file entry value.voidsetSuccess(boolean newValue) Stores a new 'success' flagtoString()Translates our content into a string
-
Method Details
-
getErrorFileEntry
String getErrorFileEntry()Accessor for the error file entry.- Returns:
- JAR file entry name of the file containing an error message explaining why the E3 composition operation failed.
-
getOutputDirPrefix
String getOutputDirPrefix()Accessoor for output directory prefix- Returns:
- String that prefixes the JAR file entries corresponding
to every file in the composition output directory.
This directory might contain (e.g.) the graphics files referenced via relative paths from the composition output file (HTML composition) or (e.g.) the entire output of the composition process (web composition), etc.
-
getOutputFileEntry
String getOutputFileEntry()Accessor for output file entry- Returns:
- JAR file entry name of file containing output of
the composition operation, or
nullif this operation doesn't return a single file.
-
getSuccess
boolean getSuccess()Accessor for 'success' flag- Returns:
- True if operation succeeded on E3 server, false otherwise.
-
serialize
Encodes our content as an XML document -
setErrorFileEntry
Stores a new error file entry value.- Parameters:
newValue- value to store
-
setOutputDirPrefix
Stores a new output directory prefix value.- Parameters:
newValue- value to store
-
setOutputFileEntry
Stores a new output file entry value.- Parameters:
newValue- value to store
-
setSuccess
void setSuccess(boolean newValue) Stores a new 'success' flag- Parameters:
newValue- value to set
-
toString
String toString()Translates our content into a string
-