Documentation

Horde_Xml_Wbxml
in package

Copyright 2003-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Tags
author

Anthony Mills amills@pyramid6.com

Table of Contents

CHARSET_ISO_8859_1  = 'ISO-8859-1'
CHARSET_US_ASCII  = 'US-ASCII'
CHARSET_UTF_16  = 'UTF-16'
CHARSET_UTF_16BE  = 'UTF-16BE'
CHARSET_UTF_16LE  = 'UTF-16LE'
CHARSET_UTF_8  = 'UTF-8'
GLOBAL_TOKEN_END  = 1
GLOBAL_TOKEN_ENTITY  = 2
GLOBAL_TOKEN_EXT_0  = 192
GLOBAL_TOKEN_EXT_1  = 193
GLOBAL_TOKEN_EXT_2  = 194
GLOBAL_TOKEN_EXT_I_0  = 64
GLOBAL_TOKEN_EXT_I_1  = 65
GLOBAL_TOKEN_EXT_I_2  = 66
GLOBAL_TOKEN_EXT_T_0  = 128
GLOBAL_TOKEN_EXT_T_1  = 129
GLOBAL_TOKEN_EXT_T_2  = 130
GLOBAL_TOKEN_LITERAL  = 4
GLOBAL_TOKEN_LITERAL_A  = 132
GLOBAL_TOKEN_LITERAL_AC  = 196
GLOBAL_TOKEN_LITERAL_C  = 68
GLOBAL_TOKEN_OPAQUE  = 195
GLOBAL_TOKEN_PI  = 67
GLOBAL_TOKEN_STR_I  = 3
GLOBAL_TOKEN_STR_T  = 131
GLOBAL_TOKEN_SWITCH_PAGE  = 0
getBits()  : mixed
getCharsetInt()  : mixed
Returns the character encoding.
getCharsetString()  : mixed
Returns the character encoding.
getDPIInt()  : mixed
getDPIString()  : mixed
intToMBUInt32()  : mixed
Encoding Multi-byte Integers from Section 5.1
MBUInt32ToInt()  : mixed
Decoding Multi-byte Integers from Section 5.1

Constants

CHARSET_ISO_8859_1

public mixed CHARSET_ISO_8859_1 = 'ISO-8859-1'

CHARSET_US_ASCII

public mixed CHARSET_US_ASCII = 'US-ASCII'

CHARSET_UTF_16

public mixed CHARSET_UTF_16 = 'UTF-16'

CHARSET_UTF_16BE

public mixed CHARSET_UTF_16BE = 'UTF-16BE'

CHARSET_UTF_16LE

public mixed CHARSET_UTF_16LE = 'UTF-16LE'

CHARSET_UTF_8

public mixed CHARSET_UTF_8 = 'UTF-8'

GLOBAL_TOKEN_END

public mixed GLOBAL_TOKEN_END = 1

GLOBAL_TOKEN_ENTITY

public mixed GLOBAL_TOKEN_ENTITY = 2

GLOBAL_TOKEN_EXT_0

public mixed GLOBAL_TOKEN_EXT_0 = 192

GLOBAL_TOKEN_EXT_1

public mixed GLOBAL_TOKEN_EXT_1 = 193

GLOBAL_TOKEN_EXT_2

public mixed GLOBAL_TOKEN_EXT_2 = 194

GLOBAL_TOKEN_EXT_I_0

public mixed GLOBAL_TOKEN_EXT_I_0 = 64

GLOBAL_TOKEN_EXT_I_1

public mixed GLOBAL_TOKEN_EXT_I_1 = 65

GLOBAL_TOKEN_EXT_I_2

public mixed GLOBAL_TOKEN_EXT_I_2 = 66

GLOBAL_TOKEN_EXT_T_0

public mixed GLOBAL_TOKEN_EXT_T_0 = 128

GLOBAL_TOKEN_EXT_T_1

public mixed GLOBAL_TOKEN_EXT_T_1 = 129

GLOBAL_TOKEN_EXT_T_2

public mixed GLOBAL_TOKEN_EXT_T_2 = 130

GLOBAL_TOKEN_LITERAL

public mixed GLOBAL_TOKEN_LITERAL = 4

GLOBAL_TOKEN_LITERAL_A

public mixed GLOBAL_TOKEN_LITERAL_A = 132

GLOBAL_TOKEN_LITERAL_AC

public mixed GLOBAL_TOKEN_LITERAL_AC = 196

GLOBAL_TOKEN_LITERAL_C

public mixed GLOBAL_TOKEN_LITERAL_C = 68

GLOBAL_TOKEN_OPAQUE

public mixed GLOBAL_TOKEN_OPAQUE = 195

GLOBAL_TOKEN_PI

public mixed GLOBAL_TOKEN_PI = 67

GLOBAL_TOKEN_STR_I

public mixed GLOBAL_TOKEN_STR_I = 3

GLOBAL_TOKEN_STR_T

public mixed GLOBAL_TOKEN_STR_T = 131

GLOBAL_TOKEN_SWITCH_PAGE

public mixed GLOBAL_TOKEN_SWITCH_PAGE = 0

Methods

getBits()

public static getBits(mixed $num, mixed $l) : mixed
Parameters
$num : mixed
$l : mixed
Return values
mixed

getCharsetInt()

Returns the character encoding.

public static getCharsetInt(mixed $cs) : mixed

Only default character encodings from J2SE are supported.

From http://www.iana.org/assignments/character-sets and http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html

Parameters
$cs : mixed
Return values
mixed

getCharsetString()

Returns the character encoding.

public static getCharsetString(mixed $cs) : mixed

only default character encodings from J2SE are supported from http://www.iana.org/assignments/character-sets and http://java.sun.com/j2se/1.4.2/docs/api/java/nio/charset/Charset.html

Parameters
$cs : mixed
Return values
mixed

getDPIInt()

public static getDPIInt(mixed $dpi) : mixed
Parameters
$dpi : mixed
Return values
mixed

getDPIString()

public static getDPIString(mixed $i) : mixed
Parameters
$i : mixed
Return values
mixed

intToMBUInt32()

Encoding Multi-byte Integers from Section 5.1

public static intToMBUInt32(mixed &$out, mixed $i) : mixed
Parameters
$out : mixed
$i : mixed
Return values
mixed

MBUInt32ToInt()

Decoding Multi-byte Integers from Section 5.1

public static MBUInt32ToInt(mixed $in, mixed &$pos) : mixed

Use long because it is unsigned.

Parameters
$in : mixed
$pos : mixed
Return values
mixed

Search results