|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
ilog.views.faces.component.IlvFacesComponentBase
ilog.views.diagrammer.faces.component.data.IlvFacesDiagrammerDataSource
ilog.views.diagrammer.faces.component.data.IlvFacesDiagrammerXMLDataSource
public class IlvFacesDiagrammerXMLDataSource
A diagrammer data source that read XML data files. This component wraps IlvXMLDataSource instance.
IlvXMLDataSource,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface ilog.views.diagrammer.faces.IlvFacesDiagrammerConstants |
|---|
DASHBOARD_DIAGRAM, DATA_SOURCE, DATA_SOURCE_ID, DATA_URL, DIAGRAMMER, EDITABLE, INPUT_XSL, OUTPUT_XSL, PARAM_CSS, PARAM_XML, PROPERTY_ACCESSOR, STYLE_SHEETS |
| Constructor Summary | |
|---|---|
IlvFacesDiagrammerXMLDataSource()
Creates a new IlvFacesDiagrammerXMLDataSource instance. |
|
| Method Summary | |
|---|---|
void |
clearInputParameters()
Clears the parameters to pass to the input XSL transform. |
void |
clearOutputParameters()
Clears the parameters to pass to the output XSL transform. |
static String |
getComponentType()
Returns the type of this component. |
String |
getDataURL()
Returns the URL of the XML data file. |
String |
getFamily()
|
String |
getInputXSL()
Returns the URL of the input XSL file. |
String |
getOutputXSL()
Returns the URL of the output XSL file. |
IlvXMLDataSource |
getXMLDataSource()
Returns the wrapped IlvXMLDataSource instance. |
void |
restoreState(FacesContext context,
Object stateObj)
Perform any processing required to restore the state from the entries in the state Object. |
Object |
saveState(FacesContext context)
Gets the state of the instance as a
|
void |
setDataURL(String dataURL)
Sets the URL of the XML data file. |
void |
setInputParameter(String name,
Object value)
Sets a parameter for the input XSL transform. |
void |
setInputXSL(String inputXSL)
Sets the URL of the input XSL file. |
void |
setOutputParameter(String name,
Object value)
Sets an input parameter for the output XSL transform. |
void |
setOutputXSL(String outputXSL)
Sets the URL of the output XSL file. |
void |
updateModel(FacesContext context)
Handles the "Update Model Values" phase of the JSF life cycle. |
| Methods inherited from class ilog.views.diagrammer.faces.component.data.IlvFacesDiagrammerDataSource |
|---|
getValue, isRefreshData, setRefreshData, setValue |
| Methods inherited from class ilog.views.faces.component.IlvFacesComponentBase |
|---|
clearDecodedPropertyMap, createFacesComponent, getAttributes, getClientId, isDecodedProperty, processUpdates, resetDecodedProperties, setDecodedProperty |
| Methods inherited from class javax.faces.component.UIComponentBase |
|---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getChildCount, getChildren, getFacesContext, getFacesListeners, getFacet, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IlvFacesDiagrammerXMLDataSource()
IlvFacesDiagrammerXMLDataSource instance.
| Method Detail |
|---|
public IlvXMLDataSource getXMLDataSource()
IlvXMLDataSource instance.
IlvXMLDataSource instance.public String getFamily()
getFamily in class IlvFacesDiagrammerDataSourcepublic static String getComponentType()
public String getDataURL()
public void setDataURL(String dataURL)
throws MalformedURLException
dataURL - The data URL to set.
MalformedURLExceptionpublic String getInputXSL()
public void setInputXSL(String inputXSL)
throws MalformedURLException
null to read
XML in the SDM format.
inputXSL - The input XSL to set.
MalformedURLExceptionpublic String getOutputXSL()
public void setOutputXSL(String outputXSL)
throws MalformedURLException
null to
write XML in the SDM format.
outputXSL - The output XSL to set.
MalformedURLException
public void setInputParameter(String name,
Object value)
name - The name of the parameter to be set.value - The value of the parameter to be set.
public void setOutputParameter(String name,
Object value)
name - The name of the parameter to be set.value - The value of the parameter to be set.public void clearInputParameters()
public void clearOutputParameters()
public void updateModel(FacesContext context)
updateModel in class IlvFacesComponentBasecontext - The current faces context.public Object saveState(FacesContext context)
Gets the state of the instance as a
Serializable Object.
If the class that implements this interface has references to
instances that implement StateHolder (such as a
UIComponent with event handlers, validators, etc.)
this method must call the IlvFacesComponentBase.saveState(javax.faces.context.FacesContext) method on all those
instances as well. This method must not save the state
of children and facets.
This method must not alter the state of the implementing object. In other words, after executing this code:
Object state = component.saveState(facesContext);
component should be the same as before executing
it.
The return from this method must be Serializable
saveState in interface IlvFacesComponentsaveState in interface StateHoldersaveState in class IlvFacesComponentBasecontext - The current faces context.
public void restoreState(FacesContext context,
Object stateObj)
Perform any processing required to restore the state from the entries in the state Object.
If the class that implements this interface has references to
instances that also implement StateHolder (such as a
UIComponent with event handlers, validators, etc.)
this method must call the IlvFacesComponentBase.restoreState(javax.faces.context.FacesContext, java.lang.Object) method on all those
instances as well.
restoreState in interface IlvFacesComponentrestoreState in interface StateHolderrestoreState in class IlvFacesComponentBasecontext - The current faces context.stateObj - The previously saved state of this component.
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||