DhRawHTML Class

DhRawHTML Class

This Package | All Packages

DhStyleBase
  |
  +--DhElement
    |
    +--DhRawHTML
public class DhRawHTML
extends DhElement

Allows output of arbitrary raw HTML to the document.

Constructors
Name Description
DhRawHTML() Constructs a DhRawHTML object.
DhRawHTML( String html ) Constructs a DhRawHTML object.

Methods
Name Description
getHTML() Retrieves the current HTML string.
setHTML( String html ) Sets the HTML string to output to the document.

Constructors

DhRawHTML.DhRawHTML

Syntax 1
public DhRawHTML();
Description

Constructs a DhRawHTML object.



Syntax 2
public DhRawHTML( String html );
Parameters
html
The initial HTML string.
Description

Constructs a DhRawHTML object. This is a one-step construction that takes an HTML string.

See Also
setHTML

Methods

DhRawHTML.getHTML

Syntax
public synchronized String getHTML();
Return Value

Returns the HTML string, or null if one is not set.

Description

Retrieves the current HTML string.

DhRawHTML.setHTML

Syntax
public synchronized void setHTML( String html );
Parameters
html
The string to output.
Description

Sets the HTML string to output to the document.