|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.icc.render.obj.ContextData
public class ContextData
Context Data is the holder for all information/data (Data Dictionary Instance, local Variables,
Session/User data) that is to be used while processing any Content
.
Constructor Summary | |
---|---|
ContextData()
|
Method Summary | |
---|---|
boolean |
forcePlaceholder(java.lang.String variableName)
This method looks for a substitution rule for the specified variable that indicates whether it should always be treated as a placeholder or if it should be treated as its regular type (placeholder or DDE). |
DataDictionaryInstance |
getDataDictionaryInstance()
Returns the data dictionary instance. |
LocalizedDataFormatInfo |
getDataDisplayFormatInfo()
Gets the data display format. |
java.util.Map |
getDataModuleMap()
|
LetterRenderOptionsSpec |
getLetterRenderOptionsSpec()
|
java.util.Map |
getLocalVariables()
These are the floating variables that are not bound to DD and defined in Document Composer. |
DataDictionaryInstance |
getSystemContextDDI()
|
java.lang.String |
getTextContentOverride()
Content to use for module resolution instead of module's persisted content. |
MimeType |
getTextContentOverrideMimeType()
Returns the MIME Type for the textContentOverride property. |
boolean |
getUseXhtmlTextContent()
Returns a flag for indicating whether to use XHTML or Flash HTML/Flex Rich Text. |
java.lang.Object |
getValue(java.lang.String variableName,
boolean xmlEncodeValue)
This method looks for the variable in all sources of information in the context and returns the value for the same. |
java.util.Set |
getVariableOverrides()
Set of variables to use for module resolution instead of the module's persisted set of variables. |
java.util.Map |
getVariableSubstitutionRules()
Maps a variable name to a &-delimited string of variable substitution options and associated values that provide instructions specific to the substitution of the variable within the content. |
boolean |
isIncludeEmptyConditions()
True if nested empty conditions (nested conditional modules that produce no output) should be included in the resolved content list. |
boolean |
isIncludeEmptyLists()
True if nested empty lists (nested list modules that produce no output) should be included in the resolved content list. |
boolean |
keepEmptyToken(java.lang.String variableName)
This method looks for a substitution rule for the specified variable that indicates whether its token should be retained when the variable's value is empty. |
void |
setDataDictionaryInstance(DataDictionaryInstance dataDictionaryInstance)
Sets data dictionary instance. |
void |
setDataDisplayFormatInfo(LocalizedDataFormatInfo dataDisplayFormatInfo)
Sets the data display format. |
void |
setDataModuleMap(java.util.Map dataModuleMap)
|
void |
setIncludeEmptyConditions(boolean includeEmptyConditions)
Sets flag to indicate whether nested empty conditions (nested conditional modules that produce no output) should be included in the resolved content list. |
void |
setIncludeEmptyLists(boolean includeEmptyLists)
Sets flag to indicate whether nested empty lists (nested list modules that produce no output) should be included in the resolved content list. |
void |
setLetterRenderOptionsSpec(LetterRenderOptionsSpec letterRenderOptionsSpec)
|
void |
setLocalVariables(java.util.Map localVariables)
Sets the floating variables that are not bound to DD and defined in Document Composer. |
void |
setSystemContextDDI(DataDictionaryInstance systemContextDDI)
|
void |
setTextContentOverride(java.lang.String textContentOverride)
Sets content to use for module resolution instead of module's persisted content. |
void |
setTextContentOverrideMimeType(MimeType textContentOverrideMimeType)
Sets the MIME Type for the textContentOverride property. |
void |
setUseXhtmlTextContent(boolean useXhtmlTextContent)
Sets a flag for indicating whether to use XHTML or Flash HTML/Flex Rich Text. |
void |
setVariableOverrides(java.util.Set variableOverrides)
Sets variables to use for module resolution instead of the module's persisted set of variables. |
void |
setVariableSubstitutionRules(java.util.Map variableSubstitutionRules)
Sets variable substitution rules. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContextData()
Method Detail |
---|
public DataDictionaryInstance getDataDictionaryInstance()
public void setDataDictionaryInstance(DataDictionaryInstance dataDictionaryInstance)
dataDictionaryInstance
- data dictionary instancepublic DataDictionaryInstance getSystemContextDDI()
public void setSystemContextDDI(DataDictionaryInstance systemContextDDI)
systemContextDDI
- the systemContextDDI to setpublic java.util.Map getLocalVariables()
public void setLocalVariables(java.util.Map localVariables)
localVariables
- The floating variables that are not bound to dd and defined in Document Composer.public java.util.Map getVariableSubstitutionRules()
Map
of a variable name to a &-delimited string of variable substitution options and associated
values that provide instructions specific to the substitution of the variable within the content.public void setVariableSubstitutionRules(java.util.Map variableSubstitutionRules)
variableSubstitutionRules
- variable substitution rules.public boolean getUseXhtmlTextContent()
public void setUseXhtmlTextContent(boolean useXhtmlTextContent)
useXhtmlTextContent
- indicates XHTML or Flash HTML/Flex Rich Text should be usedpublic java.lang.String getTextContentOverride()
public void setTextContentOverride(java.lang.String textContentOverride)
textContentOverride
- content to override persisted content.public MimeType getTextContentOverrideMimeType()
public void setTextContentOverrideMimeType(MimeType textContentOverrideMimeType)
textContentOverrideMimeType
- MIME Type for the textContentOverride property.public java.util.Set getVariableOverrides()
public void setVariableOverrides(java.util.Set variableOverrides)
variableOverrides
- set of variables to use for module resolution.public boolean isIncludeEmptyConditions()
public void setIncludeEmptyConditions(boolean includeEmptyConditions)
includeEmptyConditions
- flag to indicate whether nested empty conditions should be included in the resolved content list.public boolean isIncludeEmptyLists()
public void setIncludeEmptyLists(boolean includeEmptyLists)
includeEmptyLists
- flag to indicate whether nested empty lists should be included in the resolved content list.public java.lang.Object getValue(java.lang.String variableName, boolean xmlEncodeValue)
variableName
- name of the variable.xmlEncodeValue
- This parameter ensures that the returned object contains encoded value for XML sensitive characters.
public boolean keepEmptyToken(java.lang.String variableName)
variableName
- The name of the variable whose substitution rule is sought.
public boolean forcePlaceholder(java.lang.String variableName)
variableName
- The name of the variable whose substitution rule is sought.
public LocalizedDataFormatInfo getDataDisplayFormatInfo()
public void setDataDisplayFormatInfo(LocalizedDataFormatInfo dataDisplayFormatInfo)
dataDisplayFormatInfo
- public java.util.Map getDataModuleMap()
public void setDataModuleMap(java.util.Map dataModuleMap)
dataModuleMap
- the dataModuleMap to setpublic LetterRenderOptionsSpec getLetterRenderOptionsSpec()
public void setLetterRenderOptionsSpec(LetterRenderOptionsSpec letterRenderOptionsSpec)
letterRenderOptionsSpec
- the letterRenderOptionsSpec to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |