public class ValidatorConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<ValidatorGroup> |
validatorGroup |
Constructor and Description |
---|
ValidatorConfig() |
ValidatorConfig(ValidatorConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ValidatorConfig.
|
static ValidatorConfig |
fromString(java.lang.String s)
String representation of this ValidatorConfig.
|
java.util.List<ValidatorGroup> |
getValidatorGroup() |
java.util.Map<java.lang.String,ValidatorGroup> |
getValidatorGroupAsMap()
Get the map of ValidatorGroup, indexed by name
|
ValidatorGroup |
getValidatorGroupByName(java.lang.String _lookup)
Get the ValidatorGroup for which the name matches _lookup
|
ValidatorConfig |
makeCopy()
Creates and returns a deep copy of this ValidatorConfig.
|
static ValidatorConfig |
readFrom(java.io.InputStream is)
Read this ValidatorConfig from an XML fragment.
|
boolean |
removeValidatorGroupByName(java.lang.String _lookup)
Removes the ValidatorGroup for which the name matches _lookup
|
java.lang.String |
toString()
String representation of this ValidatorConfig.
|
ValidatorConfig |
withValidatorGroup(java.util.Collection<ValidatorGroup> __values) |
ValidatorConfig |
withValidatorGroup(ValidatorGroup... __values) |
void |
writeTo(java.io.OutputStream os)
Write this ValidatorConfig as an XML fragment
|
public java.util.List<ValidatorGroup> validatorGroup
public ValidatorConfig()
public ValidatorConfig(ValidatorConfig o)
public java.util.List<ValidatorGroup> getValidatorGroup()
public ValidatorGroup getValidatorGroupByName(java.lang.String _lookup)
public java.util.Map<java.lang.String,ValidatorGroup> getValidatorGroupAsMap()
public boolean removeValidatorGroupByName(java.lang.String _lookup)
public ValidatorConfig withValidatorGroup(ValidatorGroup... __values)
public ValidatorConfig withValidatorGroup(java.util.Collection<ValidatorGroup> __values)
public ValidatorConfig makeCopy()
public static ValidatorConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ValidatorConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.