@Override public Element getXML(Document root) { Element node = super.getXML(root); // now add in DLM specific attributes if found if (getPlfId() != null) node.setAttributeNS(Constants.NS_URI, Constants.ATT_PLF_ID, getPlfId()); if (getOrigin() != null) node.setAttributeNS(Constants.NS_URI, Constants.ATT_ORIGIN, getOrigin()); return node; } }