public class JHAttribute extends Object
Constructor and Description |
---|
JHAttribute(String name,
String namespace,
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.
|
String |
getName()
Returns the attribute's name.
|
String |
getNamespace()
Returns the namespace of the attribute's name.
|
String |
getValue()
Returns the attribute's value.
|
public JHAttribute(String name, String namespace, 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 String getName()
public String getNamespace()
public String getValue()
public int getLine()
public int getColumn()
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.