java.lang.Object | ||||
↳ | com.microstrategy.web.transform.AbstractTransform | |||
↳ | com.microstrategy.web.transform.AbstractLayoutTransform | |||
↳ | com.microstrategy.web.app.transforms.AbstractPromptObjectTransform | |||
↳ | com.microstrategy.web.app.transforms.PromptXSLTransform |
The PromptXSLTransform
delegates generation of the HTML of a
prompt to an external xsl transformation. The name of the xsl file to use
is specified through the xslFileName
Formal Paramter.
[Expand]
Inherited Constants | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public FormalParameter | xslFileName | Specifies the name of the xsl file to use. |
[Expand]
Inherited Fields | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PromptXSLTransform()
Default no-args constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDescription()
Indicates prompts transform description.
| ||||||||||
boolean |
isAnswerComplex()
Indicates whether or not answer is considered as complex.
| ||||||||||
void |
renderPromptContent(MarkupOutput out)
Renders prompt's content.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getDefaultXslFileName(WebPrompt prompt)
Returns the DefaultStyle names to use to render a prompt based on its type.
| ||||||||||
Document |
getPromptXmlDocument()
Returns XML Document denoting prompt in given Document.
| ||||||||||
String |
getStyleXsl(WebPrompt prompt)
This method is deprecated.
use
getXslFileName() instead
| ||||||||||
Document |
getXslDocument()
Returns instance of Document from ResourceCacheManager object.
| ||||||||||
String |
getXslFileName()
Indicates name of the XSL file to be read.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]()
|
Specifies the name of the xsl file to use. If the value is empty (default) it will use the name of the file as defined in the prompt's PSXSL extended property or will just default to some xsl based on the prompts type.
Default no-args constructor.
Initialize all Formal Parameters.
Indicates prompts transform description.
Indicates whether or not answer is considered as complex.
Renders prompt's content.
out | MarkupOutput where to write the output of the method.
|
---|
Returns the DefaultStyle names to use to render a prompt based on its type.
This correspond to the same default values used in Microstrategy 7i.
prompt | WebPrompt instance whose type will determine XSL style name. |
---|
Returns XML Document denoting prompt in given Document.
XMLSupportException | if error is thrown when getting XML. |
---|
This method is deprecated.
use getXslFileName()
instead
Returns the name of the xsl file to use for this prompt.
prompt | WebPrompt the prompt |
---|
Returns instance of Document from ResourceCacheManager object.
It used current XSL file name in order to get XSL Document object.
Indicates name of the XSL file to be read.