|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
javax.faces.component.UIComponent
org.apache.myfaces.trinidad.component.UIXComponent
org.apache.myfaces.trinidad.component.UIXComponentBase
org.apache.myfaces.trinidad.component.UIXValue
org.apache.myfaces.trinidad.component.UIXOutput
oracle.adf.view.rich.component.rich.output.RichOutputFormatted
public class RichOutputFormatted
<html:p> The outputFormatted bean accepts a string in its "value" attribute containing a very limited set of HTML markup and outputs formatted results. It is not intended as anything near to a generic HTML output engine, and will never be such a bean. Developers needing full HTML output should use <f:verbatim> or <af:outputText> with escape="false". </html:p> <html:p> What this bean <html:em>does</html:em> provide is a limited ability to use a single source for translated or user-provided formatted text without further parsing or filtering or dangerous constructs (e.g., Javascript), and with some hope of successful output to non-HTML displays. It also supports more attributes than an unescaped outputText tag - for example, it supports styleClass. </html:p> <html:p> This component supports the following HTML markup: <html:ul> <html:li><br></html:li> <html:li><hr></html:li> <html:li><li>, <ol>, <ul></html:li> <html:li><p></html:li> <html:li><b></html:li> <html:li><i></html:li> <html:li><tt></html:li> <html:li><big></html:li> <html:li><small></html:li> <html:li><pre></html:li> <html:li><span></html:li> <html:li><a></html:li> </html:ul> and the following entities: <html:ul> <html:li><</html:li> <html:li>></html:li> <html:li>&</html:li> <html:li>®</html:li> <html:li>©</html:li> <html:li> </html:li> <html:li>"</html:li> </html:ul> </html:p> <html:p> Elements or entities other than these will be ignored. In addition, the CSS attributes ("class" and "style") and "href" are supported - all others are ignored. </html:p> <html:p> No guarantee is made that the input HTML will be output without modification. For example, paragraph and list-item elements will always be closed even if left open in the input text. Other HTML markup may be replaced with output more appropriate to the current look-and-feel or user agent. </html:p> <html:p> Note: The escaping rules are different in a .jspx file than they are in a .jsp file. See the example below. </html:p>
| Type | Phases | Description |
|---|---|---|
org.apache.myfaces.trinidad.event.AttributeChangeEvent |
Invoke Application Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
| Field Summary | |
|---|---|
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_ATTRIBUTES_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_COMPONENT_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CLIENT_LISTENERS_KEY |
static java.lang.String |
COMPONENT_FAMILY |
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
CONTEXT_FACET |
static org.apache.myfaces.trinidad.bean.PropertyKey |
CUSTOMIZATION_ID_KEYDeprecated. |
static org.apache.myfaces.trinidad.bean.PropertyKey |
INLINE_STYLE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
PARTIAL_TRIGGERS_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
SHORT_DESC_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_CLASS_KEY |
static java.lang.String |
STYLE_USAGE_IN_CONTEXT_BRANDING |
static java.lang.String |
STYLE_USAGE_INSTRUCTION |
static org.apache.myfaces.trinidad.bean.PropertyKey |
STYLE_USAGE_KEY |
static java.lang.String |
STYLE_USAGE_PAGE_STAMP |
static org.apache.myfaces.trinidad.bean.FacesBean.Type |
TYPE |
static org.apache.myfaces.trinidad.bean.PropertyKey |
UNSECURE_KEY |
static org.apache.myfaces.trinidad.bean.PropertyKey |
VISIBLE_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXValue |
|---|
CONVERTER_KEY, VALUE_KEY |
| Fields inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
BINDING_KEY, ID_KEY, RENDERED_KEY, RENDERER_TYPE_KEY, TRANSIENT_KEY |
| Fields inherited from class javax.faces.component.UIComponent |
|---|
bindings |
| Constructor Summary | |
|---|---|
|
RichOutputFormatted()Construct an instance of the RichOutputFormatted. |
protected |
RichOutputFormatted(java.lang.String rendererType)Construct an instance of the RichOutputFormatted. |
| Method Summary | |
|---|---|
protected org.apache.myfaces.trinidad.bean.FacesBean.Type |
getBeanType() |
java.util.Set |
getClientAttributes()Gets a set of client attribute names. |
ClientListenerSet |
getClientListeners()Gets a set of client listeners. |
javax.faces.component.UIComponent |
getContext()Location for contextual information. |
java.lang.String |
getCustomizationId()Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead. |
java.lang.String |
getFamily() |
java.lang.String |
getInlineStyle()Gets the CSS styles to use for this component. |
java.lang.String[] |
getPartialTriggers()Gets the IDs of the components that should trigger a partial update. |
java.lang.String |
getShortDesc()Gets the short description of the component. |
java.lang.String |
getStyleClass()Gets a CSS style class to use for this component. |
java.lang.String |
getStyleUsage()Gets the style usage, intended to make it easier to put the correct style on the text. |
java.util.Set<java.lang.String> |
getUnsecure()Gets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. |
boolean |
isClientComponent()Gets whether a client-side component will be generated. |
boolean |
isVisible()Gets the visibility of the component. |
void |
setClientAttributes(java.util.Set clientAttributes)Sets a set of client attribute names. |
void |
setClientComponent(boolean clientComponent)Sets whether a client-side component will be generated. |
void |
setClientListeners(ClientListenerSet clientListeners)Sets a set of client listeners. |
void |
setContext(javax.faces.component.UIComponent contextFacet)Location for contextual information. |
void |
setCustomizationId(java.lang.String customizationId)Deprecated. This attribute is deprecated. This attribute will be removed in the next release. Use the 'id' attribute instead. |
void |
setInlineStyle(java.lang.String inlineStyle)Sets the CSS styles to use for this component. |
void |
setPartialTriggers(java.lang.String[] partialTriggers)Sets the IDs of the components that should trigger a partial update. |
void |
setShortDesc(java.lang.String shortDesc)Sets the short description of the component. |
void |
setStyleClass(java.lang.String styleClass)Sets a CSS style class to use for this component. |
void |
setStyleUsage(java.lang.String styleUsage)Sets the style usage, intended to make it easier to put the correct style on the text. |
void |
setUnsecure(java.util.Set<java.lang.String> unsecure)Sets A whitespace separated list of attributes whose values ordinarily can be set only on the server, but need to be settable on the client. |
void |
setVisible(boolean visible)Sets the visibility of the component. |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXValue |
|---|
getConverter, getLocalValue, getValue, setConverter, setValue |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponentBase |
|---|
adaptMethodBinding, addAttributeChange, addAttributeChangeListener, addComponentChange, addComponentChange, addComponentChangeFilter, addFacesListener, broadcast, broadcastToMethodBinding, broadcastToMethodExpression, createFacesBean, decode, decodeChildren, decodeChildrenImpl, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributeChangeListener, getAttributeChangeListeners, getAttributes, getBooleanProperty, getChildCount, getChildren, getClientId, getComponentChangeFilters, getContainerClientId, getFacesBean, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacetNames, getFacets, getFacetsAndChildren, getId, getIntProperty, getLifecycleRenderer, getParent, getProperty, getPropertyKey, getRenderedFacetsAndChildren, getRenderer, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnChildrenComponents, invokeOnComponent, invokeOnNamingContainerComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeAttributeChangeListener, removeComponentChangeFilter, removeFacesListener, restoreState, satisfiesPartialTrigger, saveState, setAttributeChangeListener, setAttributeChangeListener, setBooleanProperty, setId, setIntProperty, setParent, setProperty, setRendered, setRendererType, setTransient, setValueBinding, setValueExpression, toString, updateChildren, updateChildrenImpl, validateChildren, validateChildrenImpl |
| Methods inherited from class org.apache.myfaces.trinidad.component.UIXComponent |
|---|
addPartialTarget, encodeFlattenedChild, encodeFlattenedChildren, getLogicalParent, getLogicalParent, isVisitable, partialEncodeVisit, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, processFlattenedChildren, setPartialTarget, setUpEncodingContext, setupVisitingContext, tearDownEncodingContext, tearDownVisitingContext, visitTree, visitTree |
| Methods inherited from class javax.faces.component.UIComponent |
|---|
encodeAll, getContainerClientId |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STYLE_USAGE_PAGE_STAMP
public static final java.lang.String STYLE_USAGE_INSTRUCTION
public static final java.lang.String STYLE_USAGE_IN_CONTEXT_BRANDING
public static final org.apache.myfaces.trinidad.bean.FacesBean.Type TYPE
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_USAGE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey INLINE_STYLE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey STYLE_CLASS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey SHORT_DESC_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey UNSECURE_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey VISIBLE_KEY
@Deprecated
public static final org.apache.myfaces.trinidad.bean.PropertyKey CUSTOMIZATION_ID_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_COMPONENT_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_ATTRIBUTES_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey PARTIAL_TRIGGERS_KEY
public static final org.apache.myfaces.trinidad.bean.PropertyKey CLIENT_LISTENERS_KEY
public static final java.lang.String CONTEXT_FACET
public static final java.lang.String COMPONENT_FAMILY
public static final java.lang.String COMPONENT_TYPE
| Constructor Detail |
|---|
public RichOutputFormatted()
protected RichOutputFormatted(java.lang.String rendererType)
| Method Detail |
|---|
public final javax.faces.component.UIComponent getContext()
public final void setContext(javax.faces.component.UIComponent contextFacet)
public final java.lang.String getStyleUsage()
public final void setStyleUsage(java.lang.String styleUsage)
styleUsage - the new styleUsage valuepublic final java.lang.String getInlineStyle()
public final void setInlineStyle(java.lang.String inlineStyle)
inlineStyle - the new inlineStyle valuepublic final java.lang.String getStyleClass()
public final void setStyleClass(java.lang.String styleClass)
styleClass - the new styleClass valuepublic final java.lang.String getShortDesc()
public final void setShortDesc(java.lang.String shortDesc)
shortDesc - the new shortDesc valuepublic final java.util.Set<java.lang.String> getUnsecure()
public final void setUnsecure(java.util.Set<java.lang.String> unsecure)
unsecure - the new unsecure valuepublic final boolean isVisible()
public final void setVisible(boolean visible)
visible - the new visible value
@Deprecated
public final java.lang.String getCustomizationId()
@Deprecated
public final void setCustomizationId(java.lang.String customizationId)
customizationId - the new customizationId valuepublic final boolean isClientComponent()
public final void setClientComponent(boolean clientComponent)
clientComponent - the new clientComponent valuepublic final java.util.Set getClientAttributes()
public final void setClientAttributes(java.util.Set clientAttributes)
clientAttributes - the new clientAttributes valuepublic final java.lang.String[] getPartialTriggers()
public final void setPartialTriggers(java.lang.String[] partialTriggers)
partialTriggers - the new partialTriggers valuepublic final ClientListenerSet getClientListeners()
public final void setClientListeners(ClientListenerSet clientListeners)
clientListeners - the new clientListeners valuepublic java.lang.String getFamily()
getFamily in class org.apache.myfaces.trinidad.component.UIXOutputprotected org.apache.myfaces.trinidad.bean.FacesBean.Type getBeanType()
getBeanType in class org.apache.myfaces.trinidad.component.UIXOutput
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.0) E10684-08 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||