Exemplo n.º 1
0
 public EntryObjective(Organization org, ObjectiveBase parent, String propName, XmlNode node) {
   this.org = org;
   this.parent = parent;
   this.propName = propName;
   this.isvpName = node.getAttribute("isvp", null);
   this.name = node.getAttribute("name");
 }
Exemplo n.º 2
0
 private XmlNode getVersion() {
   XmlNode env = new XmlNode("Envelope");
   XmlNode comp = env.add("Header").add("header").add("sender").add("component");
   comp.setText("cn=LDAP Service,cn=soap nodes,o=system," + dump.getChildText("ldap/@dn"));
   XmlNode result = env.add("Body").add("GetVersionResponse");
   result.add("version").setText(dump.getAttribute("version"));
   result.add("build").setText(dump.getAttribute("build"));
   // System.out.println(env.getPretty());
   return result;
 }
Exemplo n.º 3
0
 private void addFromXmlDump(XmlNode ldap) {
   XmlNode entry = ldap.getChild("entry");
   String dn = entry.getAttribute("dn");
   index.put(dn, ldap);
   for (XmlNode n : ldap.getChild("children").getChildren()) addFromXmlDump(n);
 }
Exemplo n.º 4
0
 public String getName() {
   return dump.getAttribute("name");
 }