com.ibm.xsp.component.xp
Class XspOutputScript

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by com.ibm.xsp.component.UIOutputEx
                  extended by com.ibm.xsp.component.xp.XspOutputScript
All Implemented Interfaces:
FacesComponent, FacesOutputFiltering, ThemeControl, javax.faces.component.StateHolder, javax.faces.component.ValueHolder

public class XspOutputScript
extends UIOutputEx

A control that outputs scripts.

XPages Core Controls - Output Script

Represents an HTML script element


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.component.UIComponentBase
javax.faces.component.UIComponentBase.AggregatedIterator, javax.faces.component.UIComponentBase.UnmodifiableIterator
 
Nested classes/interfaces inherited from class javax.faces.component.UIComponent
javax.faces.component.UIComponent.StateMap, javax.faces.component.UIComponent.StateMapEntry
 
Field Summary
static java.lang.String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIOutput
COMPONENT_FAMILY
 
Fields inherited from class javax.faces.component.UIComponentBase
EMPTY_ITERATOR
 
Fields inherited from class javax.faces.component.UIComponent
_xspStateId
 
Constructor Summary
XspOutputScript()
           
 
Method Summary
 java.lang.String getCharset()
           Return the value of the charset property.
 java.lang.String getDojoArgs()
           Return the value of the dojoArgs property.
 java.lang.String getDojoEvent()
           Return the value of the dojoEvent property.
 java.lang.String getSrc()
           Return the value of the src property.
 java.lang.String getType()
           Return the value of the type property.
 java.lang.Object getValue()
           Return the value of the value property.
 boolean isDefer()
           Return the value of the defer property.
 void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext _context)
           
 void setCharset(java.lang.String charset)
           Set the value of the charset property.
 void setDefer(boolean defer)
           Set the value of the defer property.
 void setDojoArgs(java.lang.String dojoArgs)
           Set the value of the dojoArgs property.
 void setDojoEvent(java.lang.String dojoEvent)
           Set the value of the dojoEvent property.
 void setSrc(java.lang.String src)
           Set the value of the src property.
 void setType(java.lang.String type)
           Set the value of the type property.
 void setValue(java.lang.Object value)
           Set the value of the value property.
 
Methods inherited from class com.ibm.xsp.component.UIOutputEx
buildContents, getDefaultHtmlFilter, getHtmlFilter, getHtmlFilterName, getStyleKitFamily, initAfterContents, initBeforeContents
 
Methods inherited from class javax.faces.component.UIOutput
getConverter, getFamily, getLocalValue, setConverter
 
Methods inherited from class javax.faces.component.UIComponentBase
_xspCleanTransientData, _xspGetReadOnlyObj, _xspGetRendererData, _xspRemoveReadOnlyObj, _xspRemoveRendererData, _xspSetIdUnchecked, _xspSetReadOnlyObj, _xspSetRendererData, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
_xspGetStateId, _xspGetStateMap, _xspRestoreAttribute, _xspRestoreState, _xspSaveState, invokeOnComponent, isVisitable, markInitialState, setControlState, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final java.lang.String COMPONENT_TYPE
See Also:
Constant Field Values
Constructor Detail

XspOutputScript

public XspOutputScript()
Method Detail

getCharset

public java.lang.String getCharset()

Return the value of the charset property. Contents:

Specifies the character set for the script.


getDojoArgs

public java.lang.String getDojoArgs()

Return the value of the dojoArgs property. Contents:

A comma-separated list of Dojo arguments to output on the script tag. See: http://docs.dojocampus.org/dojo/parser#script-tags


getDojoEvent

public java.lang.String getDojoEvent()

Return the value of the dojoEvent property. Contents:

Specifies a Dojo event or function name to output on the script tag. See: http://docs.dojocampus.org/dojo/parser#script-tags


getSrc

public java.lang.String getSrc()

Return the value of the src property. Contents:

Specifies external script file to import from a different application or domain.


getType

public java.lang.String getType()

Return the value of the type property. Contents:

Specifies the script language type, default is text/JavaScript


getValue

public java.lang.Object getValue()

Return the value of the value property. Contents:

The client JavaScript script to be added to the page

Specified by:
getValue in interface javax.faces.component.ValueHolder
Overrides:
getValue in class javax.faces.component.UIOutput

isDefer

public boolean isDefer()

Return the value of the defer property. Contents:

If true lets the browser know that script does not output document content, e.g. no document.write statements


restoreState

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

saveState

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

setCharset

public void setCharset(java.lang.String charset)

Set the value of the charset property.


setDefer

public void setDefer(boolean defer)

Set the value of the defer property.


setDojoArgs

public void setDojoArgs(java.lang.String dojoArgs)

Set the value of the dojoArgs property.


setDojoEvent

public void setDojoEvent(java.lang.String dojoEvent)

Set the value of the dojoEvent property.


setSrc

public void setSrc(java.lang.String src)

Set the value of the src property.


setType

public void setType(java.lang.String type)

Set the value of the type property.


setValue

public void setValue(java.lang.Object value)

Set the value of the value property.

Specified by:
setValue in interface javax.faces.component.ValueHolder
Overrides:
setValue in class javax.faces.component.UIOutput