|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.xpshared.htmlelements.HTMLElement com.plumtree.xpshared.htmlelements.HTMLImg
public class HTMLImg
Use this class to render an html img element.
Spec
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.plumtree.xpshared.htmlelements.HTMLElement |
---|
HTMLElement.ValidationLevel |
Field Summary | |
---|---|
static boolean |
bEnforceAlt
Set this to false to cause the HTMLImg object to not enforce that the alt attribute is set to a valid String. |
Fields inherited from class com.plumtree.xpshared.htmlelements.HTMLElement |
---|
aNewLine, bAllowEvents, bAllowSetStyleClassWithString, bCheckNestedStringForHTML, bDisplayDidPause, bEnforceMaxTableDepth, bForceFormattingOff, bForceFormattingOn, bPauseAfterDisplay, bPrintComments, bResumingAndChildFinished, bResumingAndChildInMidRender, bShowLang, iMaxTableDepth, sLangLocal, sNewLine, sTab |
Constructor Summary | |
---|---|
HTMLImg(java.lang.String src,
java.lang.String alt)
|
|
HTMLImg(java.lang.String src,
java.lang.String alt,
java.lang.String height,
java.lang.String width)
|
Method Summary | |
---|---|
protected void |
AppendBeginningOfOpeningTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
This method generates the beginning of the opening tag. |
protected void |
AppendClosingTag(boolean bFormat,
XPStringBuilder sb,
IXPResponse response)
This method generates the closing tag of this html element. |
java.lang.String |
GetAlign()
Get the value of the align attribute. |
java.lang.String |
GetAlt()
Get the value of the alt attribute. |
java.lang.String |
GetBorder()
Get the value of the border attribute. |
java.lang.String |
GetHeight()
Get the value of the height attribute. |
java.lang.String |
GetSrc()
|
boolean |
GetUseDisplayOptionsBaseUrl()
|
java.lang.String |
GetUseMap()
Get the value of the usemap attribute. |
java.lang.String |
GetWidth()
Get the value of the width attribute. |
protected boolean |
ProvidesClosingTag()
Indicates whether or not this HTML element provides a closing tag. |
void |
SetAlign(java.lang.String s)
Set the value of the align atribute. |
void |
SetAlt(java.lang.String s)
Set the value of the alt atribute. |
void |
SetBorder(java.lang.String s)
Set the value of the border atribute. |
void |
SetHeight(java.lang.String s)
Set the value of the height atribute. |
void |
SetUseDisplayOptionsBaseUrl(boolean b)
|
void |
SetUseMap(java.lang.String s)
Set the value of the usemap atribute. |
void |
SetWidth(java.lang.String s)
Set the value of the width atribute. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean bEnforceAlt
Constructor Detail |
---|
public HTMLImg(java.lang.String src, java.lang.String alt)
src
- Pass the source string of this image.alt
- Pass the alt string of this image.public HTMLImg(java.lang.String src, java.lang.String alt, java.lang.String height, java.lang.String width)
src
- Pass the source string of this image.alt
- Pass the alt string of this image.height
- Pass the height string of this image.width
- Pass the width string of this image.Method Detail |
---|
public java.lang.String GetAlign()
public java.lang.String GetAlt()
public java.lang.String GetBorder()
public java.lang.String GetHeight()
public boolean GetUseDisplayOptionsBaseUrl()
public java.lang.String GetWidth()
public java.lang.String GetUseMap()
public void SetAlign(java.lang.String s)
s
- String value.public void SetAlt(java.lang.String s)
s
- String value.public void SetBorder(java.lang.String s)
s
- String value.public void SetHeight(java.lang.String s)
s
- String value.public void SetUseDisplayOptionsBaseUrl(boolean b)
public void SetWidth(java.lang.String s)
s
- String value.public void SetUseMap(java.lang.String s)
s
- String value.protected void AppendBeginningOfOpeningTag(boolean bFormat, XPStringBuilder sb, IXPResponse response)
AppendBeginningOfOpeningTag
in class HTMLElement
bFormat
- boolean indicating whether or not to format.sb
- XPStringBuilderresponse
- IXPResponse
HTMLException
public java.lang.String GetSrc()
protected void AppendClosingTag(boolean bFormat, XPStringBuilder sb, IXPResponse response)
AppendClosingTag
in class HTMLElement
bFormat
- boolean indicating whether or not to format.sb
- XPStringBuilderresponse
- IXPResponseprotected boolean ProvidesClosingTag()
ProvidesClosingTag
in class HTMLElement
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |