Overview

Packages

  • Xml
    • Wbxml

Classes

  • Horde_Xml_Wbxml
  • Horde_Xml_Wbxml_ContentHandler
  • Horde_Xml_Wbxml_Decoder
  • Horde_Xml_Wbxml_Dtd
  • Horde_Xml_Wbxml_Dtd_SyncMl
  • Horde_Xml_Wbxml_Dtd_SyncMlDevInf
  • Horde_Xml_Wbxml_Dtd_SyncMlMetInf
  • Horde_Xml_Wbxml_DtdManager
  • Horde_Xml_Wbxml_Encoder
  • Horde_Xml_Wbxml_Exception
  • Horde_Xml_Wbxml_HashTable
  • Horde_Xml_Wbxml_LifoQueue
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Xml_Wbxml_Encoder

From Binary XML Content Format Specification Version 1.3, 25 July 2001 found at http://www.wapforum.org

Copyright 2003-2012 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.

Horde_Xml_Wbxml_ContentHandler
Extended by Horde_Xml_Wbxml_Encoder
Package: Xml\Wbxml
Author: Anthony Mills amills@pyramid6.com
Located at Horde/Xml/Wbxml/Encoder.php
Methods summary
public
# Horde_Xml_Wbxml_Encoder( )

Constructor.

Constructor.

public
# encode( mixed $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().

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().

Throws

Horde_Xml_Wbxml_Exception
public
# writeHeader( mixed $uri )

This will write the correct headers.

This will write the correct headers.

Throws

Horde_Xml_Wbxml_Exception
public
# writeVersionNumber( mixed $version )
public
# writeDocumentPublicIdentifier( mixed $dpiString, mixed & $strings )
public
# writeCharset( mixed $charset )

Throws

Horde_Xml_Wbxml_Exception
public
# writeStringTable( mixed $strings, mixed $charset, mixed $stringTable )
public
# writeString( mixed $str, mixed $cs )
public
# writeNull( mixed $charset )
public
# startElement( mixed $uri, mixed $name, mixed $attributes = array() )

Throws

Horde_Xml_Wbxml_Exception

Overrides

Horde_Xml_Wbxml_ContentHandler::startElement()
public
# opaque( mixed $o )

Overrides

Horde_Xml_Wbxml_ContentHandler::opaque()
public
# characters( mixed $chars )

Overrides

Horde_Xml_Wbxml_ContentHandler::characters()
public
# writeTag( mixed $name, mixed $attrs, mixed $hasContent, mixed $cs )

Throws

Horde_Xml_Wbxml_Exception
public
# writeAttributes( mixed $attrs, mixed $cs )
public
# writeAttribute( mixed $name, mixed $value, mixed $cs )

Throws

Horde_Xml_Wbxml_Exception
public
# endElement( mixed $uri, mixed $name )

Overrides

Horde_Xml_Wbxml_ContentHandler::endElement()
public
# changecodepage( mixed $uri )
public
# getOutput( )

Getter for property output.

Getter for property output.

Overrides

Horde_Xml_Wbxml_ContentHandler::getOutput()
public
# getOutputSize( )

Overrides

Horde_Xml_Wbxml_ContentHandler::getOutputSize()
Methods inherited from Horde_Xml_Wbxml_ContentHandler
__construct(), createSubHandler(), getCharsetStr(), getVersion(), removeOpaqueHandler(), setCharset(), setOpaqueHandler(), setVersion()
API documentation generated by ApiGen