public class UnnamedDependency extends Object implements Dependency<Label,Label,Object>
| Modifier and Type | Field and Description |
|---|---|
protected String |
dependentText |
protected String |
regentText |
| Constructor and Description |
|---|
UnnamedDependency(Label regent,
Label dependent) |
UnnamedDependency(String regent,
String dependent) |
| Modifier and Type | Method and Description |
|---|---|
DependencyFactory |
dependencyFactory()
Provide a factory for this kind of dependency
|
Label |
dependent()
Describes the dependent (argument/modifier) of
the dependency relation.
|
boolean |
equals(Object o) |
boolean |
equalsIgnoreName(Object o)
Are two dependencies equal if you ignore the dependency name.
|
static DependencyFactory |
factory() |
protected String |
getText(Label label) |
Label |
governor()
Describes the governor (regent/head) of the dependency relation.
|
int |
hashCode() |
Object |
name()
Names the type of dependency (subject, instrument, ...).
|
String |
toString() |
String |
toString(String format)
Provide different printing options via a String keyword.
|
protected final String regentText
protected final String dependentText
public Label governor()
Dependencygovernor in interface Dependency<Label,Label,Object>public Label dependent()
Dependencydependent in interface Dependency<Label,Label,Object>public Object name()
Dependencyname in interface Dependency<Label,Label,Object>public boolean equalsIgnoreName(Object o)
DependencyequalsIgnoreName in interface Dependency<Label,Label,Object>o - The thing to compare against ignoring namepublic String toString(String format)
toString in interface Dependency<Label,Label,Object>format - A format string, either "xml" or you get the defaultpublic DependencyFactory dependencyFactory()
DependencydependencyFactory in interface Dependency<Label,Label,Object>public static DependencyFactory factory()