/**Method for back compatibility; called in write*/ private void transformMe() { int objType; if (obj == null) { return; } Object unObj = unMarshallObjectRecursively(obj); if (unObj != null) { if ((objType = XMLMapAttr.Attr.distinguishObject(unObj)) != XMLMapAttr.Attr.isValid("SERIALVALUE")) { // NOI18N obj = null; putEntry(ALLOWED_ATTR_KEYS[objType], unObj.toString()); } else { String newValue; try { newValue = encodeValue(unObj); } catch (IOException iox) { return; } obj = null; putEntry(ALLOWED_ATTR_KEYS[objType], newValue); } } }
/**Method for back compatibility; called in write*/ private void transformMe () { int objType; if (obj == null) return; Object unObj = unMarshallObjectRecursively (obj); if (unObj != null) { if ((objType = XMLMapAttr.Attr.distinguishObject (unObj)) != XMLMapAttr.Attr.isValid("SERIALVALUE")) { // NOI18N obj = null; putEntry (ALLOWED_ATTR_KEYS[objType],unObj.toString()); } else { String newValue; try { newValue = encodeValue(unObj); } catch (IOException iox) { return; } obj = null; putEntry(ALLOWED_ATTR_KEYS[objType],newValue); } } }
/**Method for back compatibility; called in write*/ private void transformMe () { int objType; if (obj == null) return; Object unObj = unMarshallObjectRecursively (obj); if (unObj != null) { if ((objType = XMLMapAttr.Attr.distinguishObject (unObj)) != XMLMapAttr.Attr.isValid("SERIALVALUE")) { // NOI18N obj = null; putEntry (ALLOWED_ATTR_KEYS[objType],unObj.toString()); } else { String newValue; try { newValue = encodeValue(unObj); } catch (IOException iox) { return; } obj = null; putEntry(ALLOWED_ATTR_KEYS[objType],newValue); } } }
static final String getValue(Object obj) { try { return encodeValue(obj);//back compatibility } catch (IOException ioe) { return ""; // NOI18N } }
static final String getValue(Object obj) { try { return encodeValue(obj);//back compatibility } catch (IOException ioe) { return ""; // NOI18N } }
static final String getValue(Object obj) { try { return encodeValue(obj); //back compatibility } catch (IOException ioe) { return ""; // NOI18N } }