org.books.view.component
Class InputExpiration

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.UIInput
                  extended by org.books.view.component.InputExpiration
All Implemented Interfaces:
javax.faces.component.EditableValueHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class InputExpiration
extends javax.faces.component.UIInput

CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Web-Tier (JSF)
Uebung: 14 (Custom_Components)
Beschreibung:
Diese Klasse implementiert eine Eingabe Komponente fuer das Verfalldatum einer Kreditkarte.

Copyright (c) 2007 bouquet dot ch, 3032 Hinterkappelen. All rights reseved.

Version:
1.0 - 14.05.2007
Author:
Marc Bouquet ( marc at bouquet dot ch, Switzerland )
See Also:
@link{javax.faces.component.UIInput}

Field Summary
static java.lang.String COMPONENT_TYPE
          The identifier of the component.
 
Fields inherited from class javax.faces.component.UIInput
COMPONENT_FAMILY, CONVERSION_MESSAGE_ID, REQUIRED_MESSAGE_ID, UPDATE_MESSAGE_ID
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
InputExpiration()
          Default constructor sets the renderer type.
 
Method Summary
 void decode(javax.faces.context.FacesContext context)
          Decodes the date from the request.
 void encodeBegin(javax.faces.context.FacesContext context)
          Renders the date to the response.
 
Methods inherited from class javax.faces.component.UIInput
addValidator, addValueChangeListener, compareValues, getConvertedValue, getConverterMessage, getFamily, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValueChangeListener, getValueChangeListeners, isImmediate, isLocalValueSet, isRequired, isValid, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, saveState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validate, validateValue
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getLocalValue, getValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, 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
 
Methods inherited from interface javax.faces.component.ValueHolder
getConverter, getLocalValue, getValue, setConverter
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
The identifier of the component.

See Also:
Constant Field Values
Constructor Detail

InputExpiration

public InputExpiration()
Default constructor sets the renderer type.

Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context)
                 throws java.io.IOException
Renders the date to the response.

Overrides:
encodeBegin in class javax.faces.component.UIComponentBase
Parameters:
context - FacesContext FacesContext the faces context
Throws:
java.io.IOException

decode

public void decode(javax.faces.context.FacesContext context)
Decodes the date from the request.

Overrides:
decode in class javax.faces.component.UIInput
Parameters:
context - FacesContext FacesContext the faces context


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.