|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
net.sf.jasperreports.jsf.component.UISource
public class UISource
Faces component (non-rendered) used to feed the report with external data.
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
Specific family name used with report sources. |
static String |
COMPONENT_TYPE
Specific component type name. |
Fields inherited from class javax.faces.component.UIComponent |
---|
bindings |
Constructor Summary | |
---|---|
UISource()
Instantiates a new data source. |
Method Summary | |
---|---|
void |
decodeValue(javax.faces.context.FacesContext context)
|
protected void |
executeValidate(javax.faces.context.FacesContext context)
|
SourceConverter |
getConverter()
Obtains the SourceConverter instance. |
String |
getFamily()
|
protected JRFacesContext |
getJRFacesContext()
Obtains the current JRFacesContext instance. |
String |
getQuery()
Gets the query. |
Source |
getSubmittedSource()
|
String |
getType()
Gets the type. |
javax.faces.validator.Validator |
getValidator()
|
Object |
getValue()
Gets the value. |
boolean |
isValid()
Checks if this source configuration is valid. |
void |
processDecodes(javax.faces.context.FacesContext context)
|
void |
processUpdates(javax.faces.context.FacesContext context)
|
void |
processValidators(javax.faces.context.FacesContext context)
|
void |
resetValue()
|
void |
restoreState(javax.faces.context.FacesContext context,
Object state)
|
Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setConverter(SourceConverter converter)
Establishes a new SourceConverter instance. |
void |
setQuery(String query)
Sets the query. |
void |
setSubmittedSource(Source submittedSource)
|
void |
setType(String type)
Sets the type. |
protected void |
setValid(boolean valid)
Establishes a new value for the valid state. |
void |
setValidator(javax.faces.validator.Validator validator)
|
void |
setValue(Object value)
Sets the value. |
void |
updateModel(javax.faces.context.FacesContext context)
|
void |
validate(javax.faces.context.FacesContext context)
|
Methods inherited from class javax.faces.component.UIComponentBase |
---|
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId, getValueExpression, setValueExpression |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
Constructor Detail |
---|
public UISource()
Method Detail |
---|
public final String getQuery()
public final void setQuery(String query)
query
- the new querypublic final String getType()
public final void setType(String type)
type
- the new typepublic final boolean isValid()
protected final void setValid(boolean valid)
valid
- new valid value.public final Object getValue()
public final void setValue(Object value)
value
- the new valuepublic final SourceConverter getConverter()
public final void setConverter(SourceConverter converter)
converter
- the new SourceConverter instance.public javax.faces.validator.Validator getValidator()
public void setValidator(javax.faces.validator.Validator validator)
public Source getSubmittedSource()
public void setSubmittedSource(Source submittedSource)
public String getFamily()
getFamily
in class javax.faces.component.UIComponent
public void resetValue()
public void restoreState(javax.faces.context.FacesContext context, Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
public void processDecodes(javax.faces.context.FacesContext context)
processDecodes
in class javax.faces.component.UIComponentBase
public void processUpdates(javax.faces.context.FacesContext context)
processUpdates
in class javax.faces.component.UIComponentBase
public void processValidators(javax.faces.context.FacesContext context)
processValidators
in class javax.faces.component.UIComponentBase
public void decodeValue(javax.faces.context.FacesContext context)
public void updateModel(javax.faces.context.FacesContext context)
public void validate(javax.faces.context.FacesContext context) throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorException
protected void executeValidate(javax.faces.context.FacesContext context) throws javax.faces.validator.ValidatorException
javax.faces.validator.ValidatorException
protected final JRFacesContext getJRFacesContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |