com.ibm.xsp.complex
Class Attr

java.lang.Object
  extended by com.ibm.xsp.complex.ValueBindingObjectImpl
      extended by com.ibm.xsp.complex.Attr
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder

public class Attr
extends ValueBindingObjectImpl

An HTML or XHTML attribute to appear in the HTML output of the control or object containing this attribute. This should only be used when none of the properties in the design-time All Properties pane correspond to the desired attribute. Usually used with the FacesAttrsObject interface, although controls may have more than one property containing an Attr list, when the control HTML output contains multiple tags. The FacesRowAttrsComponent interface also contains an Attr list. This is the "xp:attr" tag used in the XPage source. Added in 8.5.3.

Since:
8.5.3

Constructor Summary
Attr()
           
Attr(java.lang.String name, java.lang.String value)
           
 
Method Summary
 java.lang.String getName()
           
 java.lang.String getValue()
           
 boolean isMinimized()
           
 boolean isRendered()
          Returns the rendered property
 boolean isUri()
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setMinimized(boolean minimized)
           
 void setName(java.lang.String name)
           
 void setRendered(boolean rendered)
           
 void setUri(boolean uri)
           
 void setValue(java.lang.String value)
           
 
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attr

public Attr()

Attr

public Attr(java.lang.String name,
            java.lang.String value)
Method Detail

getName

public java.lang.String getName()
Returns:
the name

setName

public void setName(java.lang.String name)
Parameters:
name - the name to set

getValue

public java.lang.String getValue()
Returns:
the value

setValue

public void setValue(java.lang.String value)
Parameters:
value - the value to set

isUri

public boolean isUri()

setUri

public void setUri(boolean uri)

isMinimized

public boolean isMinimized()

setMinimized

public void setMinimized(boolean minimized)

isRendered

public boolean isRendered()
Returns the rendered property

Returns:
Returns the rendered.

setRendered

public void setRendered(boolean rendered)
Parameters:
rendered - The new rendered flag to set.

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder
Overrides:
saveState in class ValueBindingObjectImpl

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object value)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class ValueBindingObjectImpl