Salt
3.4.2
A powerful, tagset-independent and theory-neutral meta model and API for storing, manipulating, and representing nearly all types of linguistic data .
|
Inherits org.corpus_tools.salt.graph.impl.LabelImpl, and org.corpus_tools.salt.graph.Identifier.
Public Member Functions | |||
IdentifierImpl (IdentifiableElement container, String id) | |||
Instantiates an IdentifierImpl object and sets its passed container and id. More... | |||
void | setNamespace (String namespace) | ||
Do nothing. | |||
void | setName (String name) | ||
Do nothing. | |||
void | setValue (String value) | ||
{@inheritDoc Identifier::setValue(String)} | |||
String | getId () | ||
{@inheritDoc Identifier::getId()} | |||
IdentifiableElement | getIdentifiableElement () | ||
{@inheritDoc Identifier::getIdentifiableElement()} | |||
Public Member Functions inherited from org.corpus_tools.salt.graph.impl.LabelImpl | |||
LabelImpl (Label delegatee) | |||
Initializes a new object and sets an internal delegatee. More... | |||
String | getNamespace () | ||
{@inheritDoc Label::getNamespace()} | |||
String | getName () | ||
{@inheritDoc Label::getName()} | |||
String | getQName () | ||
{@inheritDoc Label::getQName()} | |||
void | setQName (String newQName) | ||
{@inheritDoc Label::setQName(String)} | |||
Object | getValue () | ||
{@inheritDoc Label::getValue()} | |||
void | setValue (Object value) | ||
{@inheritDoc Label::setValue(Object)} | |||
void | setContainer (LabelableElement container) | ||
LabelableElement | getContainer () | ||
Returns the container element, which contains this label.The label and the container are double chained, which means when a label is added to the container, the labels container is automatically set to it or even removed.
| |||
void | basicSetLabelableElement (LabelableElement container) | ||
This is an internally used method. More... | |||
Label | copy (Label other) | ||
This method the namespace, the name and the value from this object to the passed one and returns the passed one. More... | |||
String | toString () | ||
Public Member Functions inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl | |||
LabelableElementImpl (LabelableElement delegatee) | |||
Initializes a new object and sets an internal delegate. More... | |||
Collection< Label > | getLabels () | ||
{@inheritDoc LabelableElement::getLabels()} | |||
Label | getLabel (String qName) | ||
{@inheritDoc LabelableElement::getLabel(String)} | |||
Label | getLabel (String namespace, String name) | ||
{@inheritedDoc LabelableElement::getLabel(String, String)} | |||
Set< Label > | getLabelsByNamespace (String namespace) | ||
{@inheritDoc LabelableElement::getLabelsByNamespace(String)} | |||
void | addLabel (Label label) | ||
Adds the given Label object to the list of labels.
| |||
void | basicAddLabel (Label label) | ||
This is an internally used method. More... | |||
void | removeLabel (String qName) | ||
{@inheritDoc LabelableElement::removeLabel(String)} | |||
void | basicRemoveLabel (String qName) | ||
This is an internally used method. More... | |||
void | removeLabel (String namespace, String name) | ||
{@inheritDoc LabelableElement::removeLabel(String, String))} | |||
void | removeAll () | ||
{@inheritDoc LabelableElement::removeAll()} | |||
boolean | containsLabel (String qName) | ||
{@inheritDoc LabelableElement::containsLabel(String)} | |||
Integer | sizeLabels () | ||
{@inheritDoc LabelableElement::sizeLabels()} | |||
Public Member Functions inherited from org.corpus_tools.salt.graph.Label | |||
public< C extends LabelableElement > void | setContainer (C container) | ||
Sets the container element, which contains this label. More... | |||
Public Member Functions inherited from org.corpus_tools.salt.util.Copyable< T > | |||
T | copy (T other) | ||
Takes a new 'empty' object and sets all its fields by copying by value. More... | |||
Additional Inherited Members | |
Static Public Attributes inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl | |
static final int | EXPECTED_NUMBER_OF_LABELS = 5 |
Determines the expected number of labels. | |
Static Public Attributes inherited from org.corpus_tools.salt.graph.Label | |
static final String | NS_SEPERATOR = "::" |
Separator between namespace and name: qname= NAMESPACE {@value NS_SEPERATOR} NAME. | |
Protected Member Functions inherited from org.corpus_tools.salt.graph.impl.LabelImpl | |
Label | getDelegate () |
Returns the delegate object.If delegate is not null, all functions of this method are delegated to the delegate object. Setting delegate makes this object to a container.
| |
Protected Attributes inherited from org.corpus_tools.salt.graph.impl.LabelImpl | |
String | name = null |
Object | value = null |
The generic value field. | |
LabelableElement | container = null |
The container of this object. | |
Protected Attributes inherited from org.corpus_tools.salt.graph.impl.LabelableElementImpl | |
LabelableElement | delegate = null |
A delegate object of the same type. More... | |
org.corpus_tools.salt.graph.impl.IdentifierImpl.IdentifierImpl | ( | IdentifiableElement | container, |
String | id | ||
) |
Instantiates an IdentifierImpl object and sets its passed container and id.
Further sets its namespace to SaltUtil#SALT_NAMESPACE and its name to SaltUtil#LABEL_ID
container | |
id |