Expanding upon the Feature serializers mentioned in SerializableFeatures, there may be a need to serialize a Style, say to send it over RMI. One way (probably a bit slow) is simply to encode it in XML and place it in a String.
Example
StyleSerialization.java
Labels