opc-xml-da-client-0.1.2: OPC XML-DA Client
Safe HaskellNone
LanguageHaskell2010

OpcXmlDaClient.Protocol.XmlParsing

Synopsis

Responses

Details

Content

stringContent :: Content Text Source #

A sequence of UNICODE characters.

booleanContent :: Content Bool Source #

A binary logic value (true or false).

floatContent :: Content Float Source #

An IEEE single-precision 32-bit floating point value.

doubleContent :: Content Double Source #

An IEEE double-precision 64-bit floating point value.

decimalContent :: Content Scientific Source #

A fixed-point decimal value with arbitrary precision. Application development environments impose practical limitations on the precision supported by this type. XML-DA compliant applications must support at least the range supported by the VT_CY type.

longContent :: Content Int64 Source #

A 64-bit signed integer value.

intContent :: Content Int32 Source #

A 32-bit signed integer value.

shortContent :: Content Int16 Source #

A 16-bit signed integer value.

byteContent :: Content Int8 Source #

An 8-bit signed integer value. Note this differs from the definition of ‘byte’ used in most programming laguages.

unsignedLongContent :: Content Word64 Source #

A 64-bit unsigned integer value.

unsignedIntContent :: Content Word32 Source #

A 32-bit unsigned integer value.

unsignedShortContent :: Content Word16 Source #

A 16-bit unsigned integer value.

unsignedByteContent :: Content Word8 Source #

An 8-bit unsigned integer value.

base64BinaryContent :: Content ByteString Source #

A sequence of 8-bit values represented in XML with Base-64 Encoding.

dateTimeContent :: Content UTCTime Source #

A specific instance in time.

timeContent :: Content Time Source #

An instant of time that recurs every day.

dateContent :: Content Date Source #

A Gregorian calendar date.

durationContent :: Content Duration Source #

A duration of time as specified by Gregorian year, month, day, hour, minute, and second components.

adaptedQNameContent :: Content QName Source #

An XML qualified name comprising of a name and a namespace. The name must be a valid XML element name and the namespace must be a valid URI. QNames are equal only if the name and the namespace are equal.

Attributes

Value parsers

arrayOfAnyType :: (QName -> ByName Element element) -> ByName Element (Vector (Maybe element)) Source #

Parse array of any type by passing in a parser for elements in the context of a QName of the element type.

Helpers

bySoapEnvName :: Text -> parser a -> ByName parser a Source #

A workaround for the fact that OPC uses a non-standard URI for the SOAP ENV namespace.