PHP Класс Horde_Xml_Wbxml_Encoder, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Автор: Anthony Mills ([email protected])
Наследование: extends Horde_Xml_Wbxml_ContentHandler
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_currentURI
$_dtd
$_dtdManager Horde_Xml_Wbxml_DtdManager The DTD Manager.
$_hasWrittenHeader
$_output
$_parser resource The XML parser.
$_stringTable
$_strings
$_subParser
$_subParserStack
$_uriNums
$_uris

Открытые методы

Метод Описание
Horde_Xml_Wbxml_Encoder ( ) Constructor.
changecodepage ( $uri )
characters ( $chars )
encode ( $xml ) Take the input $xml and turn it into WBXML. This is _not_ the intended way of using this class. It is derived from Contenthandler and one should use it as a ContentHandler and produce the XML-structure with startElement(), endElement(), and characters().
endElement ( $uri, $name )
getOutput ( ) Getter for property output.
getOutputSize ( )
opaque ( $o )
startElement ( $uri, $name, $attributes = [] )
writeAttribute ( $name, $value, $cs )
writeAttributes ( $attrs, $cs )
writeCharset ( $charset )
writeDocumentPublicIdentifier ( $dpiString, &$strings )
writeHeader ( $uri ) This will write the correct headers.
writeNull ( $charset )
writeString ( $str, $cs )
writeStringTable ( $strings, $charset, $stringTable )
writeTag ( $name, $attrs, $hasContent, $cs )
writeVersionNumber ( $version )

Защищенные методы

Метод Описание
_addNullByte ( &$bytes )
_characters ( $parser, $chars )
_endElement ( $parser, $tag )
_getBytes ( $string, $cs )
_splitURI ( $tag )
_startElement ( $parser, $tag, $attributes )

Описание методов

Horde_Xml_Wbxml_Encoder() публичный Метод

Constructor.

_addNullByte() защищенный Метод

protected _addNullByte ( &$bytes )

_characters() защищенный Метод

protected _characters ( $parser, $chars )

_endElement() защищенный Метод

protected _endElement ( $parser, $tag )

_getBytes() защищенный Метод

protected _getBytes ( $string, $cs )

_splitURI() защищенный Метод

protected _splitURI ( $tag )

_startElement() защищенный Метод

protected _startElement ( $parser, $tag, $attributes )

changecodepage() публичный Метод

public changecodepage ( $uri )

characters() публичный Метод

public characters ( $chars )

encode() публичный Метод

Take the input $xml and turn it into WBXML. This is _not_ the intended way of using this class. It is derived from Contenthandler and one should use it as a ContentHandler and produce the XML-structure with startElement(), endElement(), and characters().
public encode ( $xml )

endElement() публичный Метод

public endElement ( $uri, $name )

getOutput() публичный Метод

Getter for property output.
public getOutput ( )

getOutputSize() публичный Метод

public getOutputSize ( )

opaque() публичный Метод

public opaque ( $o )

startElement() публичный Метод

public startElement ( $uri, $name, $attributes = [] )

writeAttribute() публичный Метод

public writeAttribute ( $name, $value, $cs )

writeAttributes() публичный Метод

public writeAttributes ( $attrs, $cs )

writeCharset() публичный Метод

public writeCharset ( $charset )

writeDocumentPublicIdentifier() публичный Метод

public writeDocumentPublicIdentifier ( $dpiString, &$strings )

writeHeader() публичный Метод

This will write the correct headers.
public writeHeader ( $uri )

writeNull() публичный Метод

public writeNull ( $charset )

writeString() публичный Метод

public writeString ( $str, $cs )

writeStringTable() публичный Метод

public writeStringTable ( $strings, $charset, $stringTable )

writeTag() публичный Метод

public writeTag ( $name, $attrs, $hasContent, $cs )

writeVersionNumber() публичный Метод

public writeVersionNumber ( $version )

Описание свойств

$_currentURI защищенное свойство

protected $_currentURI

$_dtd защищенное свойство

protected $_dtd

$_dtdManager защищенное свойство

The DTD Manager.
protected Horde_Xml_Wbxml_DtdManager $_dtdManager
Результат Horde_Xml_Wbxml_DtdManager

$_hasWrittenHeader защищенное свойство

protected $_hasWrittenHeader

$_output защищенное свойство

protected $_output

$_parser защищенное свойство

The XML parser.
protected resource $_parser
Результат resource

$_stringTable защищенное свойство

protected $_stringTable

$_strings защищенное свойство

protected $_strings

$_subParser защищенное свойство

protected $_subParser

$_subParserStack защищенное свойство

protected $_subParserStack

$_uriNums защищенное свойство

protected $_uriNums

$_uris защищенное свойство

protected $_uris