com.ge.research.html
Interface ContentWrapper

All Known Implementing Classes:
ContentWrapperTag, TableDimensionTag

public interface ContentWrapper

Interface which describes an HTML tag which can enclose any (non-restricted) content. Defines the accessors and validators of the wrapped content.

Version:
$Revision: 1.1 $ $Date: 2006/08/11 00:17:31 $
Author:
garbiras

Method Summary
 java.lang.Object getContents()
          Returns the contents of the HTML Tag.
 boolean getNowrap()
          Returns the value of the HTML Tag NOWRAP attribute.
 void setContents(java.lang.Object contents)
          Sets the contents of this tag.
 void setNowrap(boolean attribute)
          Sets the HTML Tag NOWRAP attribute.
 

Method Detail

getContents

public java.lang.Object getContents()
Returns the contents of the HTML Tag.

Returns:
The current contents of the HTML Tag

getNowrap

public boolean getNowrap()
Returns the value of the HTML Tag NOWRAP attribute.

Returns:
true if the contents of the tag do not word wrap; false if the contents of the tag should word wrap

setContents

public void setContents(java.lang.Object contents)
Sets the contents of this tag. Sets the HTMLTag.reconstructTag value to true.

Parameters:
contents - the content for this tag
See Also:
HTMLTag.reconstructTag

setNowrap

public void setNowrap(boolean attribute)
Sets the HTML Tag NOWRAP attribute. Sets the value of the HTMLTag.reconstructTag to true.

Parameters:
attribute - true if this HTML Tag contents should not be word wrapped; false if this HTML Tag contents should be word wrapped.
See Also:
HTMLTag.reconstructTag