|
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
Parent class for htmlKona elements. HtmlElements are placed on htmlKona WebPages using a canvas metaphor.
Use methods in this class to set font-level (physical) attributes that include TT, I, B, U, Strike, Big, Small, Sub, and Sup. This class also contains methods for setting phrase-level (logical) attributes like Emphasis, Strong, Dfn, Code, Sample, Kbd, Var, and Cite. Using the as*Element() methods allows nesting of tags around a particular text or phrase.
Field Summary | |
protected java.lang.String |
codeset
Deprecated. |
boolean |
useObsolete
Deprecated. |
Constructor Summary | |
HtmlElement()
Deprecated. Constructs an HtmlElement. |
Method Summary | |
AnchorElement |
asAnchorElement(java.lang.String anchorname)
Deprecated. Returns an HtmlElement as an AnchorElement with the NAME attribute set to the specified anchorname. |
BigElement |
asBigElement()
Deprecated. Returns an HtmlElement as a BigElement. |
BlockquoteElement |
asBlockquoteElement()
Deprecated. Returns an HtmlElement as a BlockquoteElement. |
BoldElement |
asBoldElement()
Deprecated. Returns an HtmlElement as a BoldElement. |
CenteredElement |
asCenteredElement()
Deprecated. Returns an HtmlElement as a CenteredElement. |
CiteElement |
asCiteElement()
Deprecated. Returns an HtmlElement as a CiteElement. |
CodeElement |
asCodeElement()
Deprecated. Returns an HtmlElement as a CodeElement. |
CommentElement |
asCommentElement()
Deprecated. Returns an HtmlElement as a CommentElement. |
DefineTermElement |
asDefineTermElement()
Deprecated. Returns an HtmlElement as a DefineTermElement. |
EmphasisElement |
asEmphasisElement()
Deprecated. Returns an HtmlElement as a EmphasisElement. |
FontElement |
asFontElement(int size)
Deprecated. Returns an HtmlElement as a FontElement set to the specified font size. |
FontElement |
asFontElement(java.lang.String size)
Deprecated. Returns an HtmlElement as a FontElement set to the specified font size. |
FontElement |
asFontElement(java.lang.String size,
java.lang.String color)
Deprecated. Returns an HtmlElement as a FontElement set to the specified size and color. |
HtmlContainer |
asHtmlContainer()
Deprecated. Returns an HtmlElement as an HtmlContainer. |
ItalicElement |
asItalicElement()
Deprecated. Returns HtmlElement as an ItalicElement. |
KeyboardElement |
asKeyboardElement()
Deprecated. Returns HtmlElement as an KeyboardElement. |
LiteralElement |
asLiteralElement()
Deprecated. Returns HtmlElement as a LiteralElement. |
ParagraphElement |
asParagraphElement()
Deprecated. Returns an HtmlElement as a ParagraphElement. |
SampleElement |
asSampleElement()
Deprecated. Returns HtmlElement as a SampleElement. |
SmallElement |
asSmallElement()
Deprecated. Returns an HtmlElement as a SmallElement. |
StrikeElement |
asStrikeElement()
Deprecated. Returns an HtmlElement as a StrikeElement. |
StrongElement |
asStrongElement()
Deprecated. Returns an HtmlElement as a StrongElement. |
SubscriptElement |
asSubscriptElement()
Deprecated. Returns an HtmlElement as a SubscriptElement. |
SuperscriptElement |
asSuperscriptElement()
Deprecated. Returns an HtmlElement as a SuperscriptElement. |
TeletypeElement |
asTeletypeElement()
Deprecated. Returns an HtmlElement as a TeletypeElement. |
UnderlineElement |
asUnderlineElement()
Deprecated. Returns an HtmlElement as an UnderlineElement. |
VariableElement |
asVariableElement()
Deprecated. Returns an HtmlElement as an VariableElement. |
protected static java.lang.String |
getVersion()
Deprecated. |
abstract void |
output(java.io.OutputStream ostr)
Deprecated. Outputs an HtmlElement to the specified output stream. |
abstract void |
output(java.io.OutputStream ostr,
java.lang.String codeset)
Deprecated. Outputs an HtmlElement to the specified output stream. |
abstract void |
output(java.io.PrintWriter pw)
Deprecated. Outputs an HtmlElement to the specified print writer. |
static void |
setAnchorMode(int anchorType)
Deprecated. |
void |
setCodeset(java.lang.String codeset)
Deprecated. Sets the codeset that data is written in |
java.lang.String |
toString()
Deprecated. |
java.lang.String |
toString(java.lang.String codeset)
Deprecated. Returns the string representation of an HtmlElement. |
int |
widthAsLiteral()
Deprecated. Constrains the width of an HtmlElement to its literal width. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public boolean useObsolete
protected java.lang.String codeset
Constructor Detail |
public HtmlElement()
Method Detail |
protected static java.lang.String getVersion()
public void setCodeset(java.lang.String codeset)
public BigElement asBigElement()
public BlockquoteElement asBlockquoteElement()
public BoldElement asBoldElement()
public CodeElement asCodeElement()
public ItalicElement asItalicElement()
public ParagraphElement asParagraphElement()
public SmallElement asSmallElement()
public StrikeElement asStrikeElement()
public SubscriptElement asSubscriptElement()
public SuperscriptElement asSuperscriptElement()
public TeletypeElement asTeletypeElement()
public UnderlineElement asUnderlineElement()
public CiteElement asCiteElement()
public DefineTermElement asDefineTermElement()
public EmphasisElement asEmphasisElement()
public KeyboardElement asKeyboardElement()
public LiteralElement asLiteralElement()
public SampleElement asSampleElement()
public StrongElement asStrongElement()
public VariableElement asVariableElement()
public AnchorElement asAnchorElement(java.lang.String anchorname)
anchorname
- Name for this internal anchor, probably with a leading "#"public CenteredElement asCenteredElement()
public CommentElement asCommentElement()
public FontElement asFontElement(int size)
size
- Font size in pointspublic FontElement asFontElement(java.lang.String size)
size
- Font size in pointspublic FontElement asFontElement(java.lang.String size, java.lang.String color)
size
- Font size in pointscolor
- Constant from HtmlColor class, or hex RGB value with "#"public HtmlContainer asHtmlContainer() throws HtmlException
public int widthAsLiteral()
public final java.lang.String toString(java.lang.String codeset)
public final java.lang.String toString()
public abstract void output(java.io.OutputStream ostr) throws java.io.IOException
out
- OutputStreampublic abstract void output(java.io.PrintWriter pw) throws java.io.IOException
out
- PrintWriterpublic abstract void output(java.io.OutputStream ostr, java.lang.String codeset) throws java.io.IOException
out
- OutputStreamcodeset
- Java Codesetpublic static void setAnchorMode(int anchorType)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |