public final class Related extends Object implements Comparable<Related>
Modifier and Type | Field and Description |
---|---|
static Related[] |
EMPTY_LIST |
boolean |
external |
String |
id |
String |
target |
String |
type |
Constructor and Description |
---|
Related(String id,
String type,
boolean external,
String target) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Related other) |
static void |
loadFrom(Document doc,
String internalBase,
URI externalBase,
Map<String,Related> related) |
String |
toString() |
static String |
toString(Related[] list) |
void |
toString(StringBuilder buffer) |
public final String id
public final String type
public final boolean external
public final String target
public static final Related[] EMPTY_LIST
public static void loadFrom(Document doc, String internalBase, URI externalBase, Map<String,Related> related) throws ParseException
ParseException
public int compareTo(Related other)
compareTo
in interface Comparable<Related>
public void toString(StringBuilder buffer)