IRISLIB database
Binary Class Reference

The Binary data type class is used to represent binary data. More...

Inheritance diagram for Binary:
Collaboration diagram for Binary:

Static Public Member Functions

_.Library.Status IsValid (_, _.Library.RawString val)
 Tests if the logical value val, which is a string, is valid. More...
 
_.Library.Binary JSONToLogical (_, _.Library.String val)
 Converts the base64 encoded input value to a logical value.
 
_.Library.String LogicalToJSON (_, _.Library.Binary val)
 Converts the logical Binary value to the base64 encoded value.
 
_.Library.String LogicalToXSD (_, _.Library.Binary val)
 Converts the Binary value to the SOAP base64 encoded value.
 
_.Library.Binary XSDToLogical (_, _.Library.String val)
 Converts the SOAP encoded base64 input value to a logical value.
 

Static Public Attributes

 CANONICALXML = None
 The Binary data type class is used to represent binary data. More...
 
 MAXLEN = None
 The maximum number of characters the string can contain.
 
 MINLEN = None
 The minimum number of characters the string can contain.
 
 MTOM = None
 If MTOM is true, then the property that references this binary data is available for optimization. More...
 
 XSDTYPE = None
 Declares the XSD type used when projecting XML Schemas.
 
- Static Public Attributes inherited from DataType
 INDEXNULLMARKER = None
 Override this parameter value to specify what value should be used as a null marker when a property of the type is used in a subscript of an index map. More...
 

Detailed Description

The Binary data type class is used to represent binary data.

The logical value for Binary is a string containing a binary value.

When a Binary data type value is projected to a client application, such as when it is used in a Java, Visual Basic (ActiveX), ODBC, or JDBC application, the Object Server performs no translations or conversions on it. That is the actual binary data is sent to and from the client without any Unicode (or other) translations.

Member Function Documentation

◆ IsValid()

_.Library.Status IsValid (   _,
_.Library.RawString  val 
)
static

Tests if the logical value val, which is a string, is valid.

The validation is based on the class parameter settings used for the class attribute this data type is associated with. In this case, MINLEN, MAXLEN, and PATTERN.

Reimplemented from DataType.

Member Data Documentation

◆ CANONICALXML

CANONICALXML = None
static

The Binary data type class is used to represent binary data.

The logical value for Binary is a string containing a binary value.

When a Binary data type value is projected to a client application, such as when it is used in a Java, Visual Basic (ActiveX), ODBC, or JDBC application, the Object Server performs no translations or conversions on it. That is the actual binary data is sent to and from the client without any Unicode (or other) translations.

If CANONICALXML is true, then the base64 output contains no white space.

◆ MTOM

MTOM = None
static

If MTOM is true, then the property that references this binary data is available for optimization.

when using SOAP MTOM (Message Transmission Optimization Mechanism). The default for binary string data is false.