public class HtmlObject
extends java.lang.Object
This class can be used to load the banner's content or detect the problems.
| Constructor and Description |
|---|
HtmlObject()
Constructs a new instance with the default (empty) values.
|
HtmlObject(java.lang.String error,
java.lang.String source,
java.lang.String url,
boolean noCampaign)
Constructs a new instance with the given objects.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getError() |
boolean |
getNoCampaign()
Returns the current status of the creative.
|
java.lang.String |
getSource() |
java.lang.String |
getUrl() |
void |
setError(java.lang.String error)
Sets an error message.
|
void |
setNoCampaign(boolean noCampaign)
Sets the status of this creative.
|
void |
setSource(java.lang.String source)
Sets the HTML source of creative.
|
void |
setUrl(java.lang.String url)
Sets the original URL of creative.
|
public HtmlObject()
public HtmlObject(java.lang.String error,
java.lang.String source,
java.lang.String url,
boolean noCampaign)
error - An error message.source - The HTML source of creative.url - The creatice's resource URL.noCampaign - true If HTML source contains a 'noCampaign' identifier.
false Otherwise.public void setError(java.lang.String error)
error - Description of the error.public java.lang.String getError()
public void setSource(java.lang.String source)
source - Cretive's HTML content.public java.lang.String getSource()
public void setUrl(java.lang.String url)
url - The resource URL.public java.lang.String getUrl()
public void setNoCampaign(boolean noCampaign)
noCampaign - true If HTML source contains a 'noCampaign' identifier.
false Otherwise.public boolean getNoCampaign()
true If HTML source contains a 'noCampaign' identifier.
false Otherwise.