ENUMValidationType

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Server APIs: HTTP REST, COM/.NET, Java > Server API Reference > Enumerations >

ENUMValidationType

Specifies what validation to carry out and, in the case of XML documents, whether validation is against a DTD or XSD.

 

eValidateAny: The document type (for example, XML or XSD) is detected, and validation is set automatically for that document type.
eValidateXMLWithDTD: Specifies validation of an XML document against a DTD.
eValidateXMLWithXSD: Specifies validation of an XML document against an XSD (XML Schema).
eValidateDTD: Specifies validation of a DTD document.
eValidateXSD: Specifies validation of an XSD (W3C XMLSchema) document.
eValidateJSON: Specifies validation of a JSON instance document.
eValidateJSONSchema: Specifies validation of a JSON Schema document according to JSON Schema v4.
eValidateAvro: Specifies validation of an Avro binary file. The Avro data in the binary file is validated against the Avro Schema contained in the binary file.
eValidateAvroSchema: Specifies validation of an Avro schema against the Avro schema specification.
eValidateAvroJSON: Specifies validation of a JSON-serialized Avro data file against an Avro schema.

 

COM and .NET

 

eValidateAny

= 0

eValidateXMLWithDTD

= 1

eValidateXMLWithXSD

= 2

eValidateDTD

= 3

eValidateXSD

= 4

eValidateJSON

= 5

eValidateJSONSchema

= 6

eValidateAvro

= 7

eValidateAvroSchema

= 8

eValidateAvroJSON

= 9

 

Used by

 

Interface

Method

IXMLValidator

isValid

 

Java

public enum ENUMValidationType {

      eValidateAny

      eValidateXMLWithDTD

      eValidateXMLWithXSD

      eValidateDTD

      eValidateXSD
      eValidateJSON

      eValidateJSONSchema

      eValidateAvro
      eValidateAvroSchema

      eValidateAvroJSON }

 

Used by

 

Class

Method

XMLValidator

isValid

 


© 2019 Altova GmbH