|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.Head.Link
Inner class for the <link> tag which only ever appears in the header.
| Field Summary |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
Head.Link(java.lang.String relationship,
java.lang.String href,
java.lang.String type)
The <link> tag defines the relationship between the current document and another in a Web collection. |
|
| Method Summary | |
java.lang.String |
getHREF()
Returns the source URL attribute of this Link tag. |
java.lang.String |
getRelationship()
Returns the relationship attribute of this Link tag. |
java.lang.String |
getRelationshipType()
Returns the relationship type attribute of this Link tag. |
void |
setContent(java.lang.String href)
Sets the HREF attribute of this LINK tag. |
Head.Link |
setHREF(java.lang.String href)
Sets the source URL attribute of this Link tag. |
Head.Link |
setRelationship(java.lang.String relationship)
Sets the relationship attribute of this Link tag. |
Head.Link |
setRelationshipType(java.lang.String type)
Sets the relationship type attribute of this Link tag. |
void |
write(Browser browser)
Over-rides the inherited write() from HTML. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Head.Link(java.lang.String relationship,
java.lang.String href,
java.lang.String type)
relationship - defines the relationship between the current element and
the destination of the linkhref - the URL of the destination linktype - the type of Link (eg 'stylesheet')| Method Detail |
public void setContent(java.lang.String href)
setContent in interface HTMLsetContent in class Taghref - the href attribute of this Link tag.setHREF(java.lang.String)public Head.Link setHREF(java.lang.String href)
href - the href attribute of this Link tag.
public java.lang.String getHREF()
public Head.Link setRelationship(java.lang.String relationship)
relationship - defines the relationship between the current element and
the destination of the link
public java.lang.String getRelationship()
public Head.Link setRelationshipType(java.lang.String type)
type - the type attribute of this Link tag.
public java.lang.String getRelationshipType()
public void write(Browser browser)
throws java.io.IOException
write in interface HTMLwrite in class Tagbrowser - the browser to which the results are to be output.
java.io.IOException - if an IO exception occursTag.setWriteEndTag(boolean),
Tag.writeContent(org.pajes.servlet.Browser)
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||