/** * Fills in the instance from a given AXIOM node. * * @param rootNode Starting point. */ protected void parse(OMElement rootNode, XConfig xconf) { OMElement node; this.name = rootNode.getAttributeValue(new QName("name")); this.type = rootNode.getAttributeValue(new QName("type")); node = rootNode.getFirstChildWithName(new QName("UniqueId")); if (node != null) { this.uniqueId = node.getText(); if (this.uniqueId.equals("NA")) { this.uniqueId = null; } } parseObjectRefs(rootNode); properties.parse(rootNode); }