public static Attribute createFromEncoded ( String unencodedKey , String encodedValue ) { String value = Entities . unescape ( encodedValue , true ) ; return new Attribute ( unencodedKey , value , null ) ; // parent will get set when Put }
Create a new Attribute from an unencoded key and a HTML attribute encoded value .