|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
com.sun.webui.jsf.component.Link
public class Link
The Link component is iused to insert information into the <head> element, such as links to external stylesheets.
Constructor Summary | |
---|---|
Link()
Construct a new Link . |
Method Summary | |
---|---|
java.lang.String |
getCharset()
Defines the character (charset) encoding of the target URL. |
java.lang.String |
getFamily()
Return the family for this component. |
java.lang.String |
getMedia()
Specifies the type of display device for which the referenced document is designed. |
java.lang.String |
getRel()
Defines the relationship between the current document and the targeted document. |
java.lang.String |
getType()
Specifies the MIME type of the target URL. |
java.lang.String |
getUrl()
The absolute or relative target URL of the resource. |
java.lang.String |
getUrlLang()
Defines the ISO language code of the human language used in the target URL file. |
void |
restoreState(javax.faces.context.FacesContext _context,
java.lang.Object _state)
Restore the state of this component. |
java.lang.Object |
saveState(javax.faces.context.FacesContext _context)
Save the state of this component. |
void |
setCharset(java.lang.String charset)
Defines the character (charset) encoding of the target URL. |
void |
setId(java.lang.String id)
The component identifier for this component. |
void |
setMedia(java.lang.String media)
Specifies the type of display device for which the referenced document is designed. |
void |
setRel(java.lang.String rel)
Defines the relationship between the current document and the targeted document. |
void |
setRendered(boolean rendered)
Use the rendered attribute to indicate whether the HTML code for the component should be included in the rendered HTML page. |
void |
setType(java.lang.String type)
Specifies the MIME type of the target URL. |
void |
setUrl(java.lang.String url)
The absolute or relative target URL of the resource. |
void |
setUrlLang(java.lang.String urlLang)
Defines the ISO language code of the human language used in the target URL file. |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRendererType, getRendersChildren, getValueBinding, getValueExpression, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, restoreAttachedState, saveAttachedState, setParent, setRendererType, setTransient, setValueBinding, setValueExpression |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getContainerClientId |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Link()
Construct a new Link
.
Method Detail |
---|
public java.lang.String getFamily()
Return the family for this component.
getFamily
in class javax.faces.component.UIComponent
public void setId(java.lang.String id)
setId
in class javax.faces.component.UIComponentBase
public void setRendered(boolean rendered)
setRendered
in class javax.faces.component.UIComponentBase
public java.lang.String getCharset()
Defines the character (charset) encoding of the target URL. Default value is "ISO-8859-1".
public void setCharset(java.lang.String charset)
Defines the character (charset) encoding of the target URL. Default value is "ISO-8859-1".
getCharset()
public java.lang.String getMedia()
Specifies the type of display device for which the referenced document is designed. The media attribute is useful for specifying different stylesheets for print and viewing on a screen. The default value is "screen".
public void setMedia(java.lang.String media)
Specifies the type of display device for which the referenced document is designed. The media attribute is useful for specifying different stylesheets for print and viewing on a screen. The default value is "screen".
getMedia()
public java.lang.String getRel()
Defines the relationship between the current document and the targeted document. Default is "stylesheet". Other possible values are described at w3.org.
public void setRel(java.lang.String rel)
Defines the relationship between the current document and the targeted document. Default is "stylesheet". Other possible values are described at w3.org.
getRel()
public java.lang.String getType()
Specifies the MIME type of the target URL. Default is: "text/css"
public void setType(java.lang.String type)
Specifies the MIME type of the target URL. Default is: "text/css"
getType()
public java.lang.String getUrl()
The absolute or relative target URL of the resource.
public void setUrl(java.lang.String url)
The absolute or relative target URL of the resource.
getUrl()
public java.lang.String getUrlLang()
Defines the ISO language code of the human language used in the target URL file. For example, valid values might be en, fr, es.
public void setUrlLang(java.lang.String urlLang)
Defines the ISO language code of the human language used in the target URL file. For example, valid values might be en, fr, es.
getUrlLang()
public void restoreState(javax.faces.context.FacesContext _context, java.lang.Object _state)
Restore the state of this component.
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class javax.faces.component.UIComponentBase
public java.lang.Object saveState(javax.faces.context.FacesContext _context)
Save the state of this component.
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIComponentBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |