Package com.arbortext.e3c
Interface E3ServerCompositionRequest
public interface E3ServerCompositionRequest
Describes the request for a composition operation to be performed
by the E3 server composition application.
This object appears in three contexts that are visible to customizers of the E3 composition application.
First, it is passed to the client composition extension's preProcess and postProcess methods.
Second, it is passed in the JAR file transmitted from the client to the E3 server.
Third, it is passed to the extension that is called by the Arbortext E3 server composition application to handle type-specific compostion.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a new set option to our listvoidAdds a new parameter to our listbooleancontainsParameter(String name) Indicates whether we contain the specified parameterReturns the absolute path to the composer (.ccf file) that should be used to control this operation.getDoc()document entry name accessorReturns the value of an optionReturns an iterator over the set of names in our option list.getParameter(String name) Returns a parameter descriptorReturns all parametersgetPath()composer path accessorvoidWrites our content to an XML documentvoidSets the name of the entry in the JAR file containing the document to be composed.voidSets the absolute path to the composer (.ccf) file on the E3 servertoString()Return our content as a string
-
Method Details
-
addOption
Adds a new set option to our list- Parameters:
name- parameter namevalue- parameter value
-
addParameter
Adds a new parameter to our list- Parameters:
p- parameter to add
-
getDoc
String getDoc()document entry name accessor- Returns:
- docuemnt entry name
-
getOptionNames
Returns an iterator over the set of names in our option list.- Returns:
IteratoroverStringobjects.
-
getOption
Returns the value of an option- Parameters:
name- name of option- Returns:
Stringoption value or NULL.
-
containsParameter
Indicates whether we contain the specified parameter- Parameters:
name- parameter- Returns:
- true or false
-
getComposerPath
String getComposerPath()Returns the absolute path to the composer (.ccf file) that should be used to control this operation.- Returns:
- Absolute path to .ccf file
-
getParameter
Returns a parameter descriptor- Parameters:
name- parameter name to search for- Returns:
CompositionParameteror null
-
getParameters
Iterator getParameters()Returns all parameters- Returns:
Iteratorfor navigating aSetofMap.entryobjects
-
getPath
String getPath()composer path accessor- Returns:
- composer path
-
serialize
Writes our content to an XML document- Parameters:
w- what to write to
-
setDoc
Sets the name of the entry in the JAR file containing the document to be composed.- Parameters:
newEntry- entry name
-
setPath
Sets the absolute path to the composer (.ccf) file on the E3 server- Parameters:
newPath- path to composer
-
toString
String toString()Return our content as a string
-