Interesting. May I ask what the plugin is for?

Sent from my iPhone

> On 2014/05/28, at 8:45, Gary Gregory <[email protected]> wrote:
> 
> I would like a Plugin I am currently writing to take a byte[] as the type of 
> a PluginAttribute.
> 
> In the untyped version of our system, I would type the PluginAttribute as a 
> String and call getBytes() with an encoding that makes sense.
> 
> How can we do this in our new type system?
> 
> I could see the XML looking like
> 
> attr="Value" where the type converters convert using String#getBytes() but 
> with which encoding? UTF8? The platform default.
> 
> I also see:
> 
> attr="Base64:0123...ABC"
> 
> as being quite useful.
> 
> Thoughts? 
> 
> Gary
> 
> -- 
> E-Mail: [email protected] | [email protected] 
> Java Persistence with Hibernate, Second Edition
> JUnit in Action, Second Edition
> Spring Batch in Action
> Blog: http://garygregory.wordpress.com 
> Home: http://garygregory.com/
> Tweet! http://twitter.com/GaryGregory

Reply via email to