|
List< Listener > | getListener () |
| Returns an unmodifiable list of all listeners.If no listener is registered null is returned.- Returns
- all registered listeners
|
|
synchronized void | addListener (Listener listener) |
| Adds a new listener, which then will be notified about a change in this object.- Parameters
-
|
|
void | addListener (Collection< Listener > listener) |
| Adds a set of new listener, which then will be notified about a change in this object.- Parameters
-
|
|
synchronized void | removeListener (Listener listener) |
| Removes a listener, which won't be notified about a change in this object anymore.- Parameters
-
|
|
void | addLabel (Label label) |
| Adds the given Label object to the list of labels.- Parameters
-
label | the Label object to be added |
Notifies all registered listeners.
|
|
void | removeLabel (String qName) |
| {@inheritDoc LabelableElement::removeLabel(String)} Notifies all registered listeners.
|
|
void | removeAll () |
| {@inheritDoc LabelableElement::removeAll()} Notifies all registered listeners.
|
|
void | setNamespace (String namespace) |
| {@inheritDoc Label::setNamespace(String)} Notifies all registered listeners.
|
|
void | setName (String name) |
| {@inheritDoc Label::setName(String)} Notifies all registered listeners.
|
|
void | setQName (String qName) |
| {@inheritDoc Label::setQName(String)} Notifies all registered listeners.
|
|
void | setValue (Object value) |
| {@inheritDoc Label::setValue(Object)} Notifies all registered listeners.
|
|
| 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()}
|
|
Object | getValue () |
| {@inheritDoc Label::getValue()}
|
|
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.- Returns
- container of this label
|
|
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 () |
|
| 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 | basicAddLabel (Label label) |
| This is an internally used method. More...
|
|
void | basicRemoveLabel (String qName) |
| This is an internally used method. More...
|
|
void | removeLabel (String namespace, String name) |
| {@inheritDoc LabelableElement::removeLabel(String, String))}
|
|
boolean | containsLabel (String qName) |
| {@inheritDoc LabelableElement::containsLabel(String)}
|
|
Integer | sizeLabels () |
| {@inheritDoc LabelableElement::sizeLabels()}
|
|
public< C extends LabelableElement > void | setContainer (C container) |
| Sets the container element, which contains this label. More...
|
|
T | copy (T other) |
| Takes a new 'empty' object and sets all its fields by copying by value. More...
|
|