|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.protocol.http.documentvalidation.Tag
public class Tag
Class representing an element in a document.
Constructor Summary | |
---|---|
Tag(java.lang.String tag)
Create the tag element. |
Method Summary | |
---|---|
void |
addExpectedAttribute(java.lang.String name,
java.lang.String pattern)
Add an expected attribute to this tag. |
Tag |
addExpectedChild(DocumentElement e)
Add an expected child to this tag. |
void |
addIllegalAttribute(java.lang.String name)
Add the name of an attribute that is NOT expected for this tag. |
java.util.Map |
getExpectedAttributes()
Get the map of expected attributes. |
java.util.List |
getExpectedChildren()
Get the list of expected children. |
java.util.Set |
getIllegalAttributes()
Get the set of illegal attributes. |
java.lang.String |
getTag()
Get the tag that this element represents. |
java.lang.String |
toString()
Output a descriptive string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Tag(java.lang.String tag)
tag
- The tag nameMethod Detail |
---|
public void addExpectedAttribute(java.lang.String name, java.lang.String pattern)
name
- The name of the attributepattern
- The pattern to matchpublic Tag addExpectedChild(DocumentElement e)
e
- The element to add
public void addIllegalAttribute(java.lang.String name)
name
- The name of the attributepublic java.util.Map getExpectedAttributes()
public java.util.List getExpectedChildren()
public java.util.Set getIllegalAttributes()
public java.lang.String getTag()
public 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 |