|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.html.HtmlElement | +--weblogic.html.ElementWithAttributes | +--weblogic.html.SinglePartElement | +--weblogic.html.BaseElement
A BaseElement object is analogous to an HTML BASE element. It is used in the head portion of an HtmlPage.
A BaseElement supplies a URL for dereferencing relative URLs, that is, a directory-level URL that supplies full path information for relative URLs. A BaseElement also supplies default target information for all or most of the links in the document, which can be overridden by setting the WindowName for a specific link.
Using a BaseElement as a record of the original URL of the document allows you to move the document to a new directory without breaking the relative URLs in the document. If the head portion of the document does not have a BASE element, the browser assumes the base URL to be the one it used to access the document.
WindowName
Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
Constructor Summary | |
BaseElement()
Deprecated. Constructs an empty BaseElement object. |
|
BaseElement(java.lang.String src)
Deprecated. Constructs a BaseElement object with the specified source. |
Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printBody()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
protected boolean |
printEndingTag()
Deprecated. |
BaseElement |
setHref(java.lang.String val)
Deprecated. Sets the URL for a BaseElement. |
BaseElement |
setTarget(java.lang.String val)
Deprecated. Sets the target window for all or most of the links in a document. |
Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public BaseElement()
public BaseElement(java.lang.String src)
src
- A source link (URL)Method Detail |
protected java.lang.String getHtmlCode()
protected boolean printEndingTag()
protected boolean printBody()
protected boolean printCR()
public BaseElement setHref(java.lang.String val)
val
- Source (URL) to which relative
URLs are referencedpublic BaseElement setTarget(java.lang.String val)
val
- Source (URL) to which relative
URLs are referenced
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |