[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 663 lignes (20 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
XML_WBXML_Decoder:: (25 méthodes):
XML_WBXML_Decoder()
setContentHandler()
getByte()
decodeToString()
decode()
getVersionNumber()
getDocumentPublicIdentifier()
getDocumentPublicIdentifierImpl()
getCharset()
retrieveStringTable()
getStringTableEntry()
_decode()
parseTag()
endTag()
getAttributes()
startGetAttributes()
stopGetAttributes()
getCurrentURI()
writeString()
getTag()
getAttribute()
switchElementCodePage()
switchAttributeCodePage()
entity()
termstr()
Classe: XML_WBXML_Decoder - X-Ref
$Horde: framework/XML_WBXML/WBXML/Decoder.php,v 1.22.10.8 2006/01/01 21:28:45 jan Exp $XML_WBXML_Decoder() X-Ref |
Constructor. |
setContentHandler(&$ch) X-Ref |
Sets the contentHandler that will receive the output of the decoding. param: XML_WBXML_ContentHandler $ch The contentHandler |
getByte($input) X-Ref |
Return one byte from the input stream. param: string $input The WBXML input string. |
decodeToString($wbxml) X-Ref |
Takes a WBXML input document and returns decoded XML. However the preferred and more effecient method is to use decode() rather than decodeToString() and have an appropriate contentHandler deal with the decoded data. param: string $wbxml The WBXML document to decode. return: string The decoded XML document. |
decode($wbxml) X-Ref |
Takes a WBXML input document and decodes it. Decoding result is directly passed to the contentHandler. A contenthandler must be set using setContentHandler prior to invocation of this method param: string $wbxml The WBXML document to decode. return: mixed True on success or PEAR_Error. |
getVersionNumber($input) X-Ref |
Pas de description |
getDocumentPublicIdentifier($input) X-Ref |
Pas de description |
getDocumentPublicIdentifierImpl($dpiType, $dpiNumber) X-Ref |
Pas de description |
getCharset($input) X-Ref |
Returns the character encoding. 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 |
retrieveStringTable($input) X-Ref |
Retrieves the string table. The string table consists of an mb_u_int32 length and then length bytes forming the table. References to the string table refer to the starting position of the (null terminated) string in this table. |
getStringTableEntry($index) X-Ref |
Pas de description |
_decode($input) X-Ref |
Pas de description |
parseTag($input, $tag, $hasAttributes, $hasContent) X-Ref |
Pas de description |
endTag() X-Ref |
Pas de description |
getAttributes($input) X-Ref |
Pas de description |
startGetAttributes() X-Ref |
Pas de description |
stopGetAttributes() X-Ref |
Pas de description |
getCurrentURI() X-Ref |
Pas de description |
writeString($str) X-Ref |
Pas de description |
getTag($tag) X-Ref |
Pas de description |
getAttribute($attribute) X-Ref |
Pas de description |
switchElementCodePage($codePage) X-Ref |
Pas de description |
switchAttributeCodePage($codePage) X-Ref |
Pas de description |
entity($entity) X-Ref |
Return the hex version of the base 10 $entity. |
termstr($input) X-Ref |
Reads a null terminated string. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |