Package cz.vutbr.fit.layout.impl
Class DefaultTag
- java.lang.Object
-
- cz.vutbr.fit.layout.impl.DefaultTag
-
-
Constructor Summary
Constructors Constructor Description DefaultTag(String value)DefaultTag(String value, int level)DefaultTag(String type, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetLevel()The tag level if the tags are hiearchically organized.StringgetType()The tag type that allows to distinguish tags of different purposes and different source.StringgetValue()Obtains the string value (the name) of the tag.inthashCode()voidsetLevel(int level)voidsetType(String type)voidsetValue(String value)StringtoString()
-
-
-
Method Detail
-
getValue
public String getValue()
Description copied from interface:TagObtains the string value (the name) of the tag.
-
setValue
public void setValue(String value)
-
getLevel
public int getLevel()
Description copied from interface:TagThe tag level if the tags are hiearchically organized.
-
setLevel
public void setLevel(int level)
-
getType
public String getType()
Description copied from interface:TagThe tag type that allows to distinguish tags of different purposes and different source. Each tag source should have its own type.
-
setType
public void setType(String type)
-
-