Class Reference
IRIS for UNIX 2019.3
InterSystems: The power behind what matters   
Documentation  Search
  [ENSLIB] >  [%xsd] >  [hexBinary]
Private  Storage   

datatype class %xsd.hexBinary extends %Binary

ODBC Type: VARCHAR

This data type is used to represent binary data that will be encoded using the hex encoding for XML serialization. Internally, this is stored as 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.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 4


Summary

Methods
IsValid JSONToLogical LogicalToJSON LogicalToXSD XSDToLogical


Parameters

• parameter MAXLEN;
There is no length restriction for %xsd binary types.
• parameter XSDTYPE = "hexBinary";
Declares the XSD type used when projecting XML schemas.

Methods

• classmethod JSONToLogical(%val As %String) as %xsd.hexBinary
Converts the JSON base64 input value to a logical value.
• classmethod LogicalToJSON(%val As %xsd.hexBinary) as %String
Converts the %Binary value to JSON base64 encoded value.
• classmethod LogicalToXSD(%val As %xsd.hexBinary) as %String
Converts the %Binary value to the SOAP base64 encoded value.
• classmethod XSDToLogical(%val As %String) as %xsd.hexBinary
Converts the SOAP encoded base64 input value to a logical value.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.