CharacterEncoderImplementations__ISO10646_1.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 15 Jun 2009 20:55:05 +0100
branchjv
changeset 17711 39faaaf888b4
parent 8148 dbf64e3142d9
child 17728 bbc5fa73dfab
permissions -rw-r--r--
Added branch jv
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8148
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     1
"
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     2
 COPYRIGHT (c) 2004 by eXept Software AG
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     3
              All Rights Reserved
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     4
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     5
 This software is furnished under a license and may be used
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     6
 only in accordance with the terms of that license and with the
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     8
 be provided or otherwise made available to, or used by, any
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
     9
 other person.  No title to or ownership of the software is
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    10
 hereby transferred.
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    11
"
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    12
8079
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
"{ Package: 'stx:libbasic' }"
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
"{ NameSpace: CharacterEncoderImplementations }"
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
8118
efc99c0f68bc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8114
diff changeset
    17
CharacterEncoder subclass:#ISO10646_1
8079
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	instanceVariableNames:''
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	classVariableNames:''
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	poolDictionaries:''
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	category:'Collections-Text-Encodings'
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
8148
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    24
!ISO10646_1 class methodsFor:'documentation'!
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    25
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    26
copyright
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    27
"
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    28
 COPYRIGHT (c) 2004 by eXept Software AG
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    29
              All Rights Reserved
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    30
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    31
 This software is furnished under a license and may be used
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    32
 only in accordance with the terms of that license and with the
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    34
 be provided or otherwise made available to, or used by, any
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    35
 other person.  No title to or ownership of the software is
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    36
 hereby transferred.
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    37
"
dbf64e3142d9 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 8118
diff changeset
    38
! !
8079
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
!ISO10646_1 class methodsFor:'queries'!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
userFriendlyNameOfEncoding
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
    ^ 'Unicode'
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
! !
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
!ISO10646_1 methodsFor:'encoding & decoding'!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
decode:aCode
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
    ^ aCode
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
decodeString:aString
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    ^ aString
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
encode:aCode
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    ^ aCode
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
encodeString:aString
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    ^ aString
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
! !
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
!ISO10646_1 class methodsFor:'documentation'!
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
version
17711
39faaaf888b4 Added branch jv
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 8148
diff changeset
    67
    ^ '$Id: CharacterEncoderImplementations__ISO10646_1.st 10447 2009-06-14 13:09:55Z vranyj1 $'
8079
0c51c515c6b6 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
! !