isValid(String)
, create(String)
Modifier and Type | Field and Description |
---|---|
private final String | |
public static final Set | RESERVED_CHARACTERS
Reserved characters that are not permissible as part of a tag name. |
private static final long |
Modifier and Type | Method and Description |
---|---|
public static TestTag | |
private static boolean | |
public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
public String | |
public int | |
public static boolean | |
public String |
name | back to summary |
---|---|
private final String name |
RESERVED_CHARACTERS | back to summary |
---|---|
public static final Set<String> RESERVED_CHARACTERS Reserved characters that are not permissible as part of a tag name.
|
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID |
TestTag | back to summary |
---|---|
private TestTag(String name) |
create | back to summary |
---|---|
public static TestTag create(String name) throws PreconditionViolationException Create a Consider checking whether the syntax of the supplied Note the supplied
|
doesNotContainReservedCharacter | back to summary |
---|---|
private static boolean doesNotContainReservedCharacter(String str) |
equals | back to summary |
---|---|
public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. |
getName | back to summary |
---|---|
public String getName() Get the name of this tag.
|
hashCode | back to summary |
---|---|
public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
|
isValid | back to summary |
---|---|
public static boolean isValid(String name) Determine if the supplied tag name is valid with regard to the supported syntax for tags. Syntax Rules for Tags
If this method returns
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |