1 42 43 package org.jfree.xml.attributehandlers; 44 45 48 public class StringAttributeHandler implements AttributeHandler { 49 50 53 public StringAttributeHandler() { 54 super(); 55 } 56 57 64 public String toAttributeValue(final Object o) { 65 final String in = (String ) o; 66 if (in != null) { 67 return in; 68 } 69 return null; 70 } 71 72 79 public Object toPropertyValue(final String s) { 80 return s; 81 } 82 83 } 84 | Popular Tags |