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