|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.tools.label.Statement
gov.nasa.pds.tools.label.AttributeStatement
public class AttributeStatement
Field Summary |
---|
Fields inherited from class gov.nasa.pds.tools.label.Statement |
---|
comment, identifier, label, lineNumber, sourceFile, sourceURI |
Constructor Summary | |
---|---|
protected |
AttributeStatement(Label sourcelabel,
int lineNumber,
java.lang.String identifier)
Constructs a new attribute statement with no value |
|
AttributeStatement(Label sourcelabel,
int lineNumber,
java.lang.String identifier,
Value value)
|
|
AttributeStatement(Label sourcelabel,
java.lang.String identifier)
Constructs a new attribute statement with no line number or value |
|
AttributeStatement(Label sourcelabel,
java.lang.String identifier,
Value value)
Constructs a new attribute statement with no line number |
Method Summary | |
---|---|
java.lang.String |
getElementIdentifier()
Gets the unqualified identifier for the att |
java.lang.String |
getNamespace()
Gets the namespace for this attribute |
Value |
getValue()
Retrieves the value of the attribute |
boolean |
hasNamespace()
|
void |
setValue(Value value)
Sets the value for this attribute |
java.lang.String |
toString()
|
Methods inherited from class gov.nasa.pds.tools.label.Statement |
---|
attachComment, compareTo, getComment, getIdentifier, getLineNumber, getSourceFile, getSourceURI, validateCommentType, validateElementType, validateGroupType, validateObjectType, validatePointerType, validateType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AttributeStatement(Label sourcelabel, int lineNumber, java.lang.String identifier)
lineNumber
- Line on which the statement startsidentifier
- Uniquely identifies the statementpublic AttributeStatement(Label sourcelabel, java.lang.String identifier)
identifier
- Uniquely identifies the statementpublic AttributeStatement(Label sourcelabel, java.lang.String identifier, Value value)
identifier
- Uniquely identifies the statementvalue
- Value
of the attributepublic AttributeStatement(Label sourcelabel, int lineNumber, java.lang.String identifier, Value value)
lineNumber
- Line on which the statement startsidentifier
- Uniquely identifies the statementvalue
- Value
of the attributeMethod Detail |
---|
public java.lang.String getNamespace()
public java.lang.String getElementIdentifier()
public Value getValue()
Value
of the attributepublic void setValue(Value value)
value
- Value
of the attributepublic boolean hasNamespace()
public java.lang.String toString()
toString
in class Statement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |