properties.put("fillcolor", o.get(0).getValue().toString()); properties.put("style", "filled"); properties.put("color", o.get(0).getValue().toString()); properties.put("URL", o.get(0).getValue().toString()); String val=o.get(0).getValue().toString(); properties.put("penwidth", val); } else { if (object instanceof Element) { properties.put("width", "" + Double.valueOf(o.get(0).getValue().toString()) * 0.75); String val=o.get(0).getValue().toString(); if (val.length()>MAX_TOOLTIP_LENGTH) { val=val.substring(0,Math.min(val.length(), MAX_TOOLTIP_LENGTH))+" ...";
properties.put("fillcolor", o.get(0).getValue().toString()); properties.put("style", "filled"); properties.put("color", o.get(0).getValue().toString()); properties.put("URL", o.get(0).getValue().toString()); String val=o.get(0).getValue().toString(); properties.put("penwidth", val); } else { if (object instanceof Element) { properties.put("width", "" + Double.valueOf(o.get(0).getValue().toString()) * 0.75); String val=o.get(0).getValue().toString(); if (val.length()>MAX_TOOLTIP_LENGTH) { val=val.substring(0,Math.min(val.length(), MAX_TOOLTIP_LENGTH))+" ...";
if (LINKED_URI.equals(other.getElementName().getUri())) { QualifiedName id=((Identifiable)statement).getId(); QualifiedName otherId=(QualifiedName) other.getValue(); addEntry(linked, otherId, id); addEntry(linked, id, otherId);
if (uri.startsWith(APP_VALUE_v2)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE_v2.length())); values.add(pf.newAttribute(TMPL_NS, VALUE2+i+"_"+count, TMPL_PREFIX, o.getValue(), o.getType()));
if (uri.startsWith(APP_VALUE_v2)) { Integer i=Integer.valueOf(uri.substring(APP_VALUE_v2.length())); values.add(pf.newAttribute(TMPL_NS, VALUE2+i+"_"+count, TMPL_PREFIX, o.getValue(), o.getType()));
if (LINKED_URI.equals(other.getElementName().getUri())) { QualifiedName id=((Identifiable)statement).getId(); QualifiedName otherId=(QualifiedName) other.getValue(); addEntry(linked, otherId, id); addEntry(linked, id, otherId);
public void register(Other other) { register(other.getType()); register(other.getElementName()); Object val = other.getValue(); registerPotentialQualifiedName(val); }
public void register(Other other) { register(other.getType()); register(other.getElementName()); Object val = other.getValue(); registerPotentialQualifiedName(val); }