public class JHAttribute
extends java.lang.Object
Constructor and Description |
---|
JHAttribute(java.lang.String name,
java.lang.String namespace,
java.lang.String value,
int line,
int column)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the column number of the beginning of the
attribute definition.
|
int |
getLine()
Returns the line number of the beginning of the
attribute definition.
|
java.lang.String |
getName()
Returns the attribute's name.
|
java.lang.String |
getNamespace()
Returns the namespace of the attribute's name.
|
java.lang.String |
getValue()
Returns the attribute's value.
|
public JHAttribute(java.lang.String name, java.lang.String namespace, java.lang.String value, int line, int column)
name
- Name of the attribute. Will be forced to
lower case as it is stored. Must not be null.namespace
- Namespace for the attribute. May be null
if no namespace is specified.value
- Value of the attribute. May be null.
If it is in quotes, the quotes will be stripped.line
- Line number at which the attribute begins.column
- Column number at which the attribute begins.public java.lang.String getName()
public java.lang.String getNamespace()
public java.lang.String getValue()
public int getLine()
public int getColumn()