|
|||||||||
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.HTMLGenericElement
public class HTMLGenericElement
This class can be used to represent HTML elements for which no specific
class exists.
It is far better thing to use a class specific to the element you wish to
render, than to use this class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.plumtree.xpshared.htmlelements.HTMLElement |
---|
HTMLElement.ValidationLevel |
Field Summary |
---|
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 | |
---|---|
HTMLGenericElement(java.lang.String s)
Call this method to create an HTMLGenericElement object. |
Method Summary | |
---|---|
void |
AddInnerHTMLElement(HTMLElement e)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
AddInnerHTMLString(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
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. |
protected void |
InternalWrite(boolean bFormat,
XPStringBuilder sbLocal,
IXPResponse response)
HTMLElement.InternalWrite() rewritten. |
protected boolean |
ProvidesClosingTag()
Indicates whether or not this HTML element provides a closing tag. |
void |
SetDisplayString(java.lang.String s)
Call this method to set the html string for this object. |
void |
SetName(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetOnClick(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetOnKeyDown(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetOnKeyPress(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetOnMouseOut(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetOnMouseOver(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetStyle(java.lang.String s)
Method rewritten to disallow calling on an HTMLGenericElement |
void |
SetStyleClass(StyleClass s)
Method rewritten to disallow calling on an HTMLGenericElement |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTMLGenericElement(java.lang.String s)
s
- Pass any valid HTML string.Method Detail |
---|
public void SetDisplayString(java.lang.String s)
s
- Pass a valid html string.public void SetName(java.lang.String s) throws HTMLException
SetName
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetOnClick(java.lang.String s) throws HTMLException
SetOnClick
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetOnKeyDown(java.lang.String s) throws HTMLException
SetOnKeyDown
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetOnKeyPress(java.lang.String s) throws HTMLException
SetOnKeyPress
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetOnMouseOut(java.lang.String s) throws HTMLException
SetOnMouseOut
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetOnMouseOver(java.lang.String s) throws HTMLException
SetOnMouseOver
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetStyle(java.lang.String s) throws HTMLException
SetStyle
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void SetStyleClass(StyleClass s) throws HTMLException
SetStyleClass
in class HTMLElement
s
- String
HTMLException
- This method will throw an exception.public void AddInnerHTMLElement(HTMLElement e) throws HTMLException
AddInnerHTMLElement
in class HTMLElement
e
- HTMLElement
HTMLException
- This method will throw an exception.public void AddInnerHTMLString(java.lang.String s) throws HTMLException
AddInnerHTMLString
in class HTMLElement
s
- HTMLElement
HTMLException
- This method will throw an exception.protected void InternalWrite(boolean bFormat, XPStringBuilder sbLocal, IXPResponse response) throws HTMLException
InternalWrite
in class HTMLElement
bFormat
- Pass a boolean indicating whether or not to format the
output.sbLocal
- Pass an XPStringBuilder to which you wish the String
appended. Pass null if you do not wish the string appended to
an XPStringBuilder.response
- Pass an IXPResponse to which you wish the String written.
Pass null if you do not wish the string written to an
IXPResponse.
HTMLException
protected void AppendBeginningOfOpeningTag(boolean bFormat, XPStringBuilder sb, IXPResponse response)
AppendBeginningOfOpeningTag
in class HTMLElement
bFormat
- boolean indicating whether or not to format.sb
- XPStringBuilderresponse
- IXPResponseprotected 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 |