|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.dsmlv2.Tag
public class Tag
This class represents a XML tag. A XML tag is defined with :
| Field Summary | |
|---|---|
static int |
END
This int represents a END tag |
static int |
START
This int represents a START tag |
| Constructor Summary | |
|---|---|
Tag(java.lang.String name,
int type)
Creates a new instance of Tag. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getName()
Gets the name of the tag |
int |
getType()
Gets the type of the tag |
int |
hashCode()
|
void |
setName(java.lang.String name)
Sets the name of the tag |
void |
setType(int type)
Sets the type of the tag |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static int START
public static int END
| Constructor Detail |
|---|
public Tag(java.lang.String name,
int type)
name - the name of the tagtype - the type of the tag| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic int getType()
public void setType(int type)
type - the type to setpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||