PatternValidator

net.reactivecore.cjs.validator.string.StringValidator$.PatternValidator
case class PatternValidator(pattern: String) extends StringValidator

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Validator
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def isValid(s: String): Boolean

Attributes

Definition Classes

Inherited methods

def children: Vector[Validator]

Children Validators

Children Validators

Attributes

Inherited from:
Validator
def precedence: Int

Precedence of this operation (for stateful validators), when using Sequence

Precedence of this operation (for stateful validators), when using Sequence

Attributes

Inherited from:
Validator
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Attributes

Inherited from:
Validator
override def validateStateful(state: ValidationState, json: Json)(implicit context: ValidationContext): (ValidationState, ValidationResult)

Validate JSON, returns violations.

Validate JSON, returns violations.

Attributes

Definition Classes
Inherited from:
StringValidator

Validate, but skip evaluated

Validate, but skip evaluated

Attributes

Inherited from:
Validator
def wideForeach(f: Validator => Unit): Unit

Depth first foreach.

Depth first foreach.

Attributes

Inherited from:
Validator

Concrete fields

val compiled: Pattern