public class AttributeIdentifier
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
private Attribute |
_attribute |
private AttributeIdentifier |
_child |
private int |
_index
Index.
|
private static java.util.regex.Pattern |
PATTERN |
| Constructor and Description |
|---|
AttributeIdentifier(Attribute attribute) |
AttributeIdentifier(Attribute attribute,
AttributeIdentifier child) |
AttributeIdentifier(Attribute attribute,
int index) |
AttributeIdentifier(java.lang.String description,
AttributeSet set)
Erzeugt einen AttributeIdentifier aus einem String der Form
Attribut([Index])?.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
Attribute |
getAttribute() |
AttributeIdentifier |
getChild() |
Data |
getDataElement(Data data)
Findet das durch diese Klasse referenzierte Datenobjekt (bzw.
|
int |
getIndex() |
Attribute |
getLastAttribute() |
java.lang.String |
getName() |
boolean |
hasChild() |
int |
hashCode() |
boolean |
hasIndex() |
boolean |
isAtomic() |
java.lang.String |
toString() |
private final Attribute _attribute
private final AttributeIdentifier _child
private final int _index
private static final java.util.regex.Pattern PATTERN
public AttributeIdentifier(Attribute attribute)
public AttributeIdentifier(Attribute attribute, int index)
public AttributeIdentifier(Attribute attribute, AttributeIdentifier child)
public AttributeIdentifier(java.lang.String description,
AttributeSet set)
throws SemanticErrorException
description - SemanticErrorExceptionpublic java.lang.String getName()
public Attribute getAttribute()
public int getIndex()
public boolean hasIndex()
public AttributeIdentifier getChild()
public boolean hasChild()
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic boolean isAtomic()
public Attribute getLastAttribute()