public class Validation extends Object implements XMLConvertible, NamedObject
| Constructor and Description |
|---|
Validation(String name,
String condition,
boolean allowEmptyCells,
CellRef baseCellAddress,
DisplayList displayList,
ErrorMessage errorMessage) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendXMLContent(XMLUtil util,
Appendable appendable)
Write the XML format for this object.
|
static ValidationBuilder |
builder(String name) |
String |
getName()
Get the name of this object.
|
public Validation(String name, String condition, boolean allowEmptyCells, CellRef baseCellAddress, DisplayList displayList, ErrorMessage errorMessage)
public static ValidationBuilder builder(String name)
public void appendXMLContent(XMLUtil util, Appendable appendable) throws IOException
XMLConvertibleappendXMLContent in interface XMLConvertibleutil - a helper objectappendable - the appendable to append data toIOException - if the style can't be addedpublic String getName()
NamedObjectgetName in interface NamedObjectCopyright © 2016–2021. All rights reserved.