Package dev.amp.validator
Class DescendantConstraints
- java.lang.Object
-
- dev.amp.validator.DescendantConstraints
-
public class DescendantConstraints extends Object
Instances of this class specify which tag names (|allowedTags|) are allowed as descendent tags of a particular tag (|tagName|).- Author:
- nhant01, GeorgeLuo
-
-
Constructor Summary
Constructors Constructor Description DescendantConstraints(String tagName, List<String> allowedTags)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllowedTags()Returns the allowed tags.StringgetTagName()Returns the tag name.
-