xp-framework/rfc — Issue #229: Split xp.contrib's "ietf"
Author: thekid
Created: 2012-01-22 15:43:43+00:00
State: open
Labels: framework, technology

Scope of Change
==
The UUID class will be merged into XP Framework core (as `util.UUID`) and the ietf package will be renamed to **punycode**.

Rationale
==
The "ietf" module contains both PunyCode and UUID implementations, which are completely unrelated.

Functionality
==
The new UUID class will offer a slightly different API than the current one.

Old API
--

```
public class org.ietf.UUID extends lang.Object {
public org.ietf.UUID::$time_low
public org.ietf.UUID::$time_mid
public org.ietf.UUID::$time_hi_and_version
public org.ietf.UUID::$clock_seq_low
public org.ietf.UUID::$clock_seq_hi_and_reserved
public org.ietf.UUID::$node

public static org.ietf.UUID create()
public static org.ietf.UUID fromString(string $str) throws lang.FormatException

public string toString()
public string hashCode()
public bool equals(var $cmp)
public string getClassName()
public lang.XPClass getClass()
}
```

New API
--
TODO!

Security considerations
==
n/a

Speed impact
==
n/a

Dependencies
==
n/a

Related documents
==
RFC #210