|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stvconsultants.easygloss.footnotes.Footnote
public class Footnote
A loose Annotation for matching against other annotations.
| Constructor Summary | |
|---|---|
Footnote(java.lang.annotation.Annotation annotation)
Creates a new instance of Footnote. |
|
Footnote(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
Creates a new instance of Footnote. |
|
| Method Summary | |
|---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Required by Annotation interface. |
boolean |
equals(java.lang.Object value)
Returns true if the specified object represents an annotation that is logically equivalent to this one. |
Footnote |
excluding(java.lang.String name,
java.lang.Object value)
Add a criterion to the footnote. |
int |
hashCode()
Returns the hash code of this footnote. |
Footnote |
including(java.lang.String name,
java.lang.Object value)
Add a criterion to the footnote. |
boolean |
matches(java.lang.annotation.Annotation that)
Returns true if the specified object represents an annotation that is logically equivalent to this one. |
Footnote |
matching(java.lang.String name,
java.lang.String regex)
Add a criterion to the footnote. |
java.lang.String |
toString()
Generate a string representation of the Footnote. |
Footnote |
with(java.lang.String name,
java.lang.Object value)
Add a criterion to the footnote. |
Footnote |
without(java.lang.String name,
java.lang.Object value)
Add a criterion to the footnote. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Footnote(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
annotationType - the type of Annotation that this footnote will
matchpublic Footnote(java.lang.annotation.Annotation annotation)
annotation - the Annotation that this footnote will match| Method Detail |
|---|
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
public boolean equals(java.lang.Object value)
equals in class java.lang.Objectvalue - The object to check for equality
public boolean matches(java.lang.annotation.Annotation that)
that - The annotation to check for matching
public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
public Footnote with(java.lang.String name,
java.lang.Object value)
name - The element name.value - The value that the element value must be equal to.
public Footnote without(java.lang.String name,
java.lang.Object value)
name - The element name.value - A value that the element value must not equal.
public Footnote including(java.lang.String name,
java.lang.Object value)
name - The element name.value - A value that the element array value must contain.
public Footnote excluding(java.lang.String name,
java.lang.Object value)
name - The element name.value - A value that the element array value must not contain.
public Footnote matching(java.lang.String name,
java.lang.String regex)
name - The element name.regex - The regex that the element value must match.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||