CLASS_ATTR, format, STYLE_ATTR| Modifier and Type | Method and Description |
|---|---|
void |
assertParent(Collection<Class<? extends Element>> permittedParents)
Check that the element's allowed parents are limited to the specified element types.
|
void |
validate()
Check the syntax and contents of the element.
|
addChild, asText, buildAll, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, sizepublic void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic void assertParent(Collection<Class<? extends Element>> permittedParents) throws InvalidInputException
ElementInvalidInputExceptionCopyright © 2019 The Symphony Software Foundation. All rights reserved.