32 |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
* @author Andrew John Hughes (gnu_andrew@member.fsf.org) |
33 |
*/ |
*/ |
34 |
public class Blank |
public class Blank |
35 |
implements Subject, RDFObject |
extends Node |
36 |
{ |
{ |
37 |
|
|
38 |
/** |
/** |
59 |
*/ |
*/ |
60 |
public String toString() |
public String toString() |
61 |
{ |
{ |
62 |
return getClass().getName() + |
String superToString = super.toString(); |
63 |
"[id = " + |
return superToString.substring(0, superToString.length() - 1) + |
64 |
|
", id = " + |
65 |
id + |
id + |
66 |
"]"; |
"]"; |
67 |
} |
} |
73 |
*/ |
*/ |
74 |
public Blank clone() |
public Blank clone() |
75 |
{ |
{ |
76 |
try |
return (Blank) super.clone(); |
|
{ |
|
|
return (Blank) super.clone(); |
|
|
} |
|
|
catch (CloneNotSupportedException e) |
|
|
{ |
|
|
throw new IllegalStateException("Unexpected exception: " + e, e); |
|
|
} |
|
77 |
} |
} |
78 |
|
|
79 |
/** |
/** |