public class Attribute
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static interface |
Attribute.Type
The type of attribute.
|
Modifier and Type | Field and Description |
---|---|
protected Location |
location |
protected java.lang.String |
text |
protected java.lang.String |
type |
Constructor and Description |
---|
Attribute() |
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Gets the location.
|
java.lang.String |
getText()
Gets the text.
|
java.lang.String |
getType()
Gets the type.
|
protected java.lang.String type
protected java.lang.String text
protected Location location
public java.lang.String getType()
The type of attribute.
public java.lang.String getText()
The text associated with the attribute.
public Location getLocation()
The numeric location of the identified element in the document, represented with two integers labeled `begin` and `end`.