/** * Returns a copy of this StringAttribute. */ public Object clone () { try { return new StringAttribute (new String (toString().getBytes(Utils.getEncoding()), Utils.getEncoding())); } catch (final java.io.UnsupportedEncodingException e) { throw new IllegalArgumentException ("clone() failure "+e); } }
System.out.println("\"" + (subject!=null ? subject.toString() : "") + "\""); System.out.println("Dispatch time : " + sma.get(Header.DISPATCH_TIME)); System.out.println("Last modified : " + header.getLastModified());
final String skey = key.toString();
Attribute attribute = item.getAttribute(name); if(attribute instanceof StringAttribute){ return ((StringAttribute)attribute).toString();
while (it.hasNext()) String attributeName = ((StringAttribute)it.next()).toString();
String s = assignTo.toString(); if (s.length() > 0) { newc.createNodeData(WorkflowConstants.ATTRIBUTE_ASSIGN_TO, vf.createValue(s));