XDLSReader module

class XDLSReader.XDLSReader

Bases: IXDLSAttributeReader, IXDLSContentReader

This class represents an XDLS reader.

property AttributeReader: IXDLSAttributeReader

Get the attribute reader of the XDLS reader.

Deserialize(value: IDocumentSerializable)

Deserialize the XDLS reader with the given value.

GetAttributeValue(name: str) → str

Get the attribute value from the XDLS reader with the given name.

HasAttribute(name: str) → bool

Check if the XDLS reader has the attribute with the given name.

ReadBoolean(name: str) → bool

Read the boolean value from the XDLS reader with the given name.

ReadByte(name: str) → int

Read the byte value from the XDLS reader with the given name.

ReadChildElement

Read the child element from the XDLS reader with the given value.

ReadChildStringContent() → str

Read the child string content from the XDLS reader.

ReadColor(name: str) → Color

Read the color value from the XDLS reader with the given name.

ReadDateTime(name: str) → DateTime

Read the DateTime value from the XDLS reader with the given name.

ReadDouble(name: str) → float

Read the double value from the XDLS reader with the given name.

ReadFloat(name: str) → float

Read the float value from the XDLS reader with the given name.

ReadInt(name: str) → int

Read the integer value from the XDLS reader with the given name.

ReadShort(name: str) → Int16

Read the short value from the XDLS reader with the given name.

ReadString(name: str) → str

Read the string value from the XDLS reader with the given name.

property TagName: str

Get the tag name of the XDLS reader.