|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.complex.ValueBindingObjectImpl com.ibm.xsp.resource.AbstractResource com.ibm.xsp.resource.LinkResource
public class LinkResource
Corresponds to the xp:linkResource
tag which is used to load generic HTML link resources
Field Summary | |
---|---|
static java.lang.String |
RENDERER_TYPE
|
Fields inherited from class com.ibm.xsp.resource.AbstractResource |
---|
FAMILY |
Constructor Summary | |
---|---|
LinkResource()
Default Constructor |
Method Summary | |
---|---|
void |
addAttr(Attr attr)
Add an Attr , to appear as an attribute in the HTML output of this control
or object tag. |
java.util.List<Attr> |
getAttrs()
The extra attributes to be output on the base element at the root of this control or object tag. |
java.lang.String |
getCharset()
Indicates the character encoding of the linked resource. |
java.lang.String |
getDir()
Specifies the direction for text that does not inherit a direction. |
java.lang.String |
getHref()
Indicates the href of the linked resource. |
java.lang.String |
getHreflang()
Indicates the hreflang of the linked resource. |
java.lang.String |
getId()
Specifies the id of the link |
java.lang.String |
getMedia()
Returns the media that the link is connected to |
java.lang.String |
getRel()
Specifies the relationship between the current document and the anchor referenced by the control. |
java.lang.String |
getRev()
Specifies a reverse link from the anchor referenced by the control to the current document. |
java.lang.String |
getStyle()
Specifies CSS style(s) to be applied when this control is rendered. |
java.lang.String |
getStyleClass()
Specifies the space-separated list of CSS style class(es) to be applied when this control is rendered. |
java.lang.String |
getTarget()
Specifies the location where a linked document is loaded. |
java.lang.String |
getTitle()
Provides title information for controls. |
java.lang.String |
getType()
Specifies the MIME type of the linked document. |
protected java.lang.String |
getUrl()
|
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setAttrs(java.util.List<Attr> attrs)
This method is not used by the XPage generated .java file - instead the addAttr(Attr) method is used to add attributes to the list. |
void |
setCharset(java.lang.String charset)
The value to set. |
void |
setDir(java.lang.String dir)
The dir to set. |
void |
setHref(java.lang.String href)
The href to set |
void |
setHreflang(java.lang.String hreflang)
The hreflang to set |
void |
setId(java.lang.String id)
The id to set. |
void |
setMedia(java.lang.String media)
The media |
void |
setRel(java.lang.String rel)
The rel to set |
void |
setRev(java.lang.String rev)
The rev to set. |
void |
setStyle(java.lang.String style)
The style to set. |
void |
setStyleClass(java.lang.String styleClass)
The styleClass to set |
void |
setTarget(java.lang.String target)
The target to set. |
void |
setTitle(java.lang.String title)
The The title to set. |
void |
setType(java.lang.String type)
The type to set |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.xsp.resource.AbstractResource |
---|
encodeObject, equals, getFamily, getRendererType, getServerResourceContents, getUniqueId, isRendered, loadContents, setRendered, setRendererType |
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl |
---|
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient, setValueBinding |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.complex.EncodableObject |
---|
encodeObject |
Field Detail |
---|
public static final java.lang.String RENDERER_TYPE
Constructor Detail |
---|
public LinkResource()
Method Detail |
---|
public java.lang.String getCharset()
public void setCharset(java.lang.String charset)
value
to set.
charset
- public java.lang.String getHref()
href
of the linked resource. Same as the HTML
"link" tag's "href" attribute.
href
public void setHref(java.lang.String href)
set
href
- public java.lang.String getHreflang()
hreflang
of the linked resource. Same as the HTML
"link" tag's "href" attribute.
hreflang
public void setHreflang(java.lang.String hreflang)
hreflang
to set
hreflang
- public java.lang.String getMedia()
media
public void setMedia(java.lang.String media)
media to set.
- Parameters:
media
- media
-
public java.lang.String getRel()
rel
public void setRel(java.lang.String rel)
rel
to set
rel
- public java.lang.String getRev()
rev
public void setRev(java.lang.String rev)
rev
to set.
rev
- public java.lang.String getTarget()
target
public void setTarget(java.lang.String target)
target
to set.
target
- public java.lang.String getType()
type
of the linked document.
type
.public void setType(java.lang.String type)
type
to set
The
- type to set.public java.lang.String getStyleClass()
styleClass
public void setStyleClass(java.lang.String styleClass)
styleClass
to set
styleClass
.
- public java.lang.String getDir()
dir
.public void setDir(java.lang.String dir)
dir
to set.
dir
- public java.lang.String getId()
id
of the link
id
public void setId(java.lang.String id)
id
to set.
id
- public java.lang.String getStyle()
style
.public void setStyle(java.lang.String style)
style
- public java.lang.String getTitle()
title
information for controls.
title
.public void setTitle(java.lang.String title)
title
- public java.util.List<Attr> getAttrs()
null
. The addAttr(Attr)
method should be used to add an Attr
.
getAttrs
in interface FacesAttrsObject
public void addAttr(Attr attr)
Attr
, to appear as an attribute in the HTML output of this control
or object tag.
addAttr
in interface FacesAttrsObject
action
- public void setAttrs(java.util.List<Attr> attrs)
addAttr(Attr)
method is used to add attributes to the list.
protected java.lang.String getUrl()
public java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractResource
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractResource
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |