com.sibvisions.rad.ui.web.impl
Class WebResource

java.lang.Object
  extended by com.sibvisions.rad.ui.web.impl.WebResource
All Implemented Interfaces:
IResource
Direct Known Subclasses:
WebCellFormat, WebColor, WebComponent, WebCursor, WebDimension, WebFont, WebFormLayout.WebAnchor, WebFormLayout.WebConstraints, WebImage, WebInsets, WebLayout, WebPoint, WebRectangle

public abstract class WebResource
extends Object
implements IResource

Web server implementation of IResource.


Constructor Summary
protected WebResource()
          Constructs a new WebResource.
 
Method Summary
abstract  String getAsString()
          Gets this Object as String.
static String getNullableAsString(WebResource pWebResource)
          Gets the WebResource as String or an empty String if the WebResource is null.
 Object getResource()
          Gets the original resource corresponding with this wrapper object.
 void setAsString(String pValue)
          Sets this Object as String.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebResource

protected WebResource()
Constructs a new WebResource.

Method Detail

toString

public String toString()

Overrides:
toString in class Object

getResource

public Object getResource()
Gets the original resource corresponding with this wrapper object.

Specified by:
getResource in interface IResource
Returns:
the original resource

getAsString

public abstract String getAsString()
Gets this Object as String.

Returns:
the String.

getNullableAsString

public static String getNullableAsString(WebResource pWebResource)
Gets the WebResource as String or an empty String if the WebResource is null.

Parameters:
pWebResource - the WebResource.
Returns:
the String.

setAsString

public void setAsString(String pValue)
Sets this Object as String.

Parameters:
pValue - the String.


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.