1
|
package jdeserialize;
|
2
|
|
3
|
/**
|
4
|
* Provides a skeleton content implementation.
|
5
|
*/
|
6
|
public class contentbase implements content {
|
7
|
public int handle;
|
8
|
public boolean isExceptionObject;
|
9
|
protected contenttype type;
|
10
|
public contentbase(contenttype type) {
|
11
|
this.type = type;
|
12
|
}
|
13
|
public boolean isExceptionObject() {
|
14
|
return isExceptionObject;
|
15
|
}
|
16
|
public void setIsExceptionObject(boolean value) {
|
17
|
isExceptionObject = value;
|
18
|
}
|
19
|
public contenttype getType() {
|
20
|
return type;
|
21
|
}
|
22
|
public int getHandle() {
|
23
|
return this.handle;
|
24
|
}
|
25
|
public void validate() throws ValidityException {
|
26
|
}
|
27
|
|
28
|
public @Override String toJson(String indetation)
|
29
|
{
|
30
|
return this.toString();
|
31
|
}
|
32
|
}
|
33
|
|