public class Tag extends Object
Modifier and Type | Field and Description |
---|---|
static int |
END
This int represents a END tag
|
static int |
START
This int represents a START tag
|
Constructor and Description |
---|
Tag(String name,
int type)
Creates a new instance of Tag.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
Gets the name of the tag
|
int |
getType()
Gets the type of the tag
|
int |
hashCode() |
void |
setName(String name)
Sets the name of the tag
|
void |
setType(int type)
Sets the type of the tag
|
String |
toString() |
public static final int START
public static final int END
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.