|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2004 SAP AG
| Field Summary | |
static java.lang.String |
TRANSFORMATION_TYPE_DISPLAY
Constant for retrieving the default display transformation with the IXFProject.getDefaultTransformation() method |
static java.lang.String |
TRANSFORMATION_TYPE_EDIT
Constant for retrieving the default edit transformation with the IXFProject.getDefaultTransformation() method |
static java.lang.String |
TRANSFORMATION_TYPE_ITEMLIST
Constant for retrieving the default item list transformation with the IXFProject.getDefaultTransformation() method |
| Method Summary | |
boolean |
generatesFragment()
Checks if this transformation generates a HTML fragment |
java.lang.String |
getDisplayConfiguration()
Configuration that should be used render an item with this resource in a new browser window |
java.lang.String |
getDisplayName(java.util.Locale clientlocale)
Gets a localized descritive name of the transformation |
java.lang.String |
getEncoding()
Gets the character encoding of the generated output |
java.lang.String |
getID()
Gets the projectwide unique identifier of the transformation |
java.util.Date |
getLastModified()
Gets the modification time of the transformation |
java.lang.String |
getMimeType()
Gets the mime type of the generated output |
java.lang.String |
getTransformationProperty(java.lang.String key)
Gets a transformation property |
java.io.InputStream |
render(IResource item,
java.util.Hashtable parameters)
Apply transformation on an XML item to generate HTML |
java.io.InputStream |
render(ISaveResult result,
IResourceContext context,
java.util.Hashtable parameters)
Apply transformation on result, if the saveItem() method of IXFProject
failed to validate or post the data. |
java.io.InputStream |
render(java.lang.String resid,
IResourceContext context,
java.util.Hashtable parameters)
Apply transformation on an XML item to generate HTML |
java.io.InputStream |
renderItemOrTemplate(java.lang.String resid,
java.lang.String dstPath,
IResourceContext context,
java.util.Hashtable parameters)
Apply transformation on an XML item. |
java.io.InputStream |
renderTemplate(java.lang.String dstPath,
IResourceContext context,
java.util.Hashtable parameters)
Apply transformation on XML template item to generate HTML |
java.io.InputStream |
renderWithPreview(IResource previewItem,
java.lang.String dstPath,
java.util.Hashtable parameters)
Apply transformation on a temporary (author preview) XML item to generate HTML |
java.io.InputStream |
renderWithPreview(java.lang.String previewItem,
IResourceContext context,
java.lang.String dstPath,
java.util.Hashtable parameters)
Apply transformation on a temporary (author preview) XML item to generate HTML |
| Field Detail |
public static final java.lang.String TRANSFORMATION_TYPE_EDIT
IXFProject.getDefaultTransformation() methodpublic static final java.lang.String TRANSFORMATION_TYPE_DISPLAY
IXFProject.getDefaultTransformation() methodpublic static final java.lang.String TRANSFORMATION_TYPE_ITEMLIST
IXFProject.getDefaultTransformation() method| Method Detail |
public java.lang.String getID()
public java.lang.String getDisplayName(java.util.Locale clientlocale)
clientlocale - the Locale to use for localisationnull is returned.public java.lang.String getDisplayConfiguration()
window.open() call as third parameterpublic boolean generatesFragment()
true if this transformation generates a HTML fragment only,
false if it generates a whole page
public java.io.InputStream render(IResource item,
java.util.Hashtable parameters)
throws XFException
item - the XML item to transformparameters - external parameters for the transformationInputStream containing HTML dataXFException - if an error occurred during the render process
public java.io.InputStream render(java.lang.String resid,
IResourceContext context,
java.util.Hashtable parameters)
throws XFException
resid - the ID of the XML item to transformcontext - the context to useparameters - external parameters for the transformationInputStream containing HTML dataXFException - if an error occurred during the render process
public java.io.InputStream render(ISaveResult result,
IResourceContext context,
java.util.Hashtable parameters)
throws XFException
saveItem() method of IXFProject
failed to validate or post the data. The result contains additional error information, which
can be used to highlight incorrect data.result - the ISaveResult instance, which was returned by saveItem()context - the context to useparameters - external parameters for the transformationInputStream containing HTML data, or null if result was the
result of a successfull operationXFException - if an error occurred during the render process
public java.io.InputStream renderTemplate(java.lang.String dstPath,
IResourceContext context,
java.util.Hashtable parameters)
throws XFException
dstPath - the path where a new item will be createdcontext - the context of the user, who wants to create a new item. It is necessary
for default values. That context is not used to read the template XML.parameters - external parameters for the transformationInputStream containing HTML dataXFException - if an error occurred during the transformation process
public java.io.InputStream renderItemOrTemplate(java.lang.String resid,
java.lang.String dstPath,
IResourceContext context,
java.util.Hashtable parameters)
throws XFException
renderTemplate().resid - the ID of the XML item to renderdstPath - if the item specified with resid does not exist, a new item will
be created in the path specified by dstPathcontext - the context to useparameters - external parameters for the transformationInputStream containing HTML dataXFException - XFException if an error occurred during the transformation process
public java.io.InputStream renderWithPreview(IResource previewItem,
java.lang.String dstPath,
java.util.Hashtable parameters)
throws XFException
previewItem - the temporary item containing XML datadstPath - full path of the item to create, if save button is pressedparameters - external parameters for the transformationInputStream containing HTML dataXFException - if an error occurred during the transformation process
public java.io.InputStream renderWithPreview(java.lang.String previewItem,
IResourceContext context,
java.lang.String dstPath,
java.util.Hashtable parameters)
throws XFException
previewItem - the RID of the temporary item containing XML datacontext - the context to usedstPath - full path of the item to create, if save button is pressedparameters - external parameters for the transformationInputStream containing HTML dataXFException - if an error occurred during the transformation processpublic java.lang.String getTransformationProperty(java.lang.String key)
key - the property keypublic java.lang.String getMimeType()
public java.lang.String getEncoding()
public java.util.Date getLastModified()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||