Пример #1
0
 /**
  * Get the tools out of the root element
  *
  * @param root
  * @return
  */
 public static XMLElement getToolsXML() {
   XMLElement root = getSettingsXMLRoot();
   Vector<XMLElement> children = root.getChildren();
   for (XMLElement curElement : children) {
     if (curElement.getName().equalsIgnoreCase("TOOLS")) {
       return curElement;
     }
   }
   return null;
 }
Пример #2
0
 public void deserialize(XMLElement element) {
   if (element.getName().equalsIgnoreCase("svnrelease")) {
     releaseUrl = new StringNode();
     releaseUrl.deserialize(findChild(element, "releaseurl"));
   }
 }