1 42 43 package org.jfree.xml.attributehandlers; 44 45 49 public class ByteAttributeHandler implements AttributeHandler { 50 51 54 public ByteAttributeHandler() { 55 super(); 56 } 57 58 65 public String toAttributeValue(final Object o) { 66 final Byte in = (Byte ) o; 67 return in.toString(); 68 } 69 70 77 public Object toPropertyValue(final String s) { 78 return new Byte (s); 79 } 80 81 } 82 | Popular Tags |