Packagecom.adobe.rtc.util
Classpublic class ISO9075

Implements the encode and decode routines as specified in ISO 9075-14:2003. If a character c is not valid at a certain position in an XML name, it is encoded in the form: '_x' + hexValueOf(c) + '_'.



Public Methods
 MethodDefined by
  
ISO9075
  
decode(name:String):String
[static] Decodes the name.
ISO9075
  
encode(name:String):String
[static] Encodes a name as specified in ISO 9075.
ISO9075
Constructor detail
ISO9075()constructor
public function ISO9075()
Method detail
decode()method
public static function decode(name:String):String

Decodes the name.

Parameters
name:String — The string to decode.

Returns
String — The decoded string.
encode()method 
public static function encode(name:String):String

Encodes a name as specified in ISO 9075.

Parameters
name:String — The string to encode.

Returns
String — The encoded string or else its name if it does not need encoding.




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/util/ISO9075.html