object XMLValidator
- Source
- XMLValidator.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- XMLValidator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- final case class ErrorMessage(msg: String, location: Location) extends Product with Serializable
- final case class Location(line: Int, column: Int, charOffset: Int) extends Product with Serializable
- final case class ParseError(error: ErrorMessage) extends ValidationResult with Product with Serializable
- final case class ValidationFailed(totalErrorCount: Int, errors: Vector[ErrorMessage]) extends ValidationResult with Product with Serializable
- sealed trait ValidationResult extends AnyRef
- final class ValidationResultBuilder extends ValidationProblemHandler
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def createXMLValidationSchema(xsd: Reader): XMLValidationSchema
Creates a XMLValidationSchema (which is thread-safe and reusable!) for an XSD
- def createXMLValidationSchema(xsd: Resource[Reader]): XMLValidationSchema
Creates a XMLValidationSchema (which is thread-safe and reusable!) for an XSD
- def createXMLValidationSchema(xsd: File): XMLValidationSchema
Creates a XMLValidationSchema (which is thread-safe and reusable!) for an XSD
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def validate(xsd: XMLValidationSchema, validatable: Validatable, limit: Option[Int]): ValidationResultBuilder
Plug into an existing Validatable instance.
Plug into an existing Validatable instance. You get back a ValidationResultBuilder that you can call the result() method on once you are done reading/writing with the Validatable instance.
- def validate(xsd: Reader, validatable: Validatable, limit: Option[Int]): ValidationResultBuilder
- def validate(xsd: Resource[Reader], validatable: Validatable, limit: Option[Int]): ValidationResultBuilder
- def validate(xsd: File, validatable: Validatable, limit: Option[Int]): ValidationResultBuilder
- def validate(xsd: XMLValidationSchema, xml: Reader, limit: Option[Int]): ValidationResult
Stand-alone validation against an xml Reader.
Stand-alone validation against an xml Reader. This method will construct an XML Reader and read the full contents of the Reader
- def validate(xsd: Reader, xml: Reader, limit: Option[Int]): ValidationResult
- def validate(xsd: Resource[Reader], xml: Resource[Reader], limit: Option[Int]): ValidationResult
- def validate(xsd: Resource[Reader], xml: Resource[Reader]): ValidationResult
- def validate(xsd: File, xml: File, limit: Option[Int]): ValidationResult
- def validate(xsd: File, xml: File): ValidationResult
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- case object Success extends ValidationResult with Product with Serializable