Attributes
- Companion
- object
- Source
- XmlCodec.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Decodes the specified input into a value of the target type.
Decodes the specified input into a value of the target type.
Value parameters
- input
-
The input data that needs to be decoded.
Attributes
- Returns
-
Either a
SchemaErrorindicating the decoding failure, or a decoded value. - Definition Classes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Encodes the given value into the specified output representation.
Encodes the given value into the specified output representation.
Value parameters
- output
-
The target output into which the value will be encoded.
- value
-
The value to be encoded.
Attributes
- Returns
-
This method does not return a value.
- Definition Classes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Attributes
- Source
- XmlCodec.scala
Throws a XmlCodecError wrapping the given error and adding a span.
Throws a XmlCodecError wrapping the given error and adding a span.
Value parameters
- error
-
the error to wrap
- span
-
the span to add to the error
Attributes
- Throws
-
XmlCodecError
always
- Source
- XmlCodec.scala
Throws a XmlCodecError wrapping the given error and adding two spans.
Throws a XmlCodecError wrapping the given error and adding two spans.
Value parameters
- error
-
the error to wrap
- span1
-
the first span to add to the error
- span2
-
the second span to add to the error
Attributes
- Throws
-
XmlCodecError
always
- Source
- XmlCodec.scala
Throws a XmlCodecError with the given error message.
Throws a XmlCodecError with the given error message.
Value parameters
- message
-
the error message
Attributes
- Throws
-
XmlCodecError
always
- Source
- XmlCodec.scala