@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl packel = new XMLElementImpl("name", conditionRoot); packel.setContent(this.name); conditionRoot.addChild(packel); }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl nameEl = new XMLElementImpl("name", conditionRoot); nameEl.setContent(this.variablename); conditionRoot.addChild(nameEl); XMLElementImpl valueEl = new XMLElementImpl("value", conditionRoot); valueEl.setContent(this.value); conditionRoot.addChild(valueEl); }
/** * {@inheritDoc} */ @Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl requiredUserEl = new XMLElementImpl("requiredusername", conditionRoot); requiredUserEl.setContent(this.requiredUsername); conditionRoot.addChild(requiredUserEl); }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl nameXml = new XMLElementImpl("arg1", conditionRoot); nameXml.setContent(this.operand1); conditionRoot.addChild(nameXml); XMLElementImpl valueXml = new XMLElementImpl("arg2", conditionRoot); valueXml.setContent(this.operand2); conditionRoot.addChild(valueXml); XMLElementImpl opXml = new XMLElementImpl("operator", conditionRoot); opXml.setContent(this.operator.getAttribute()); conditionRoot.addChild(opXml); } }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl el1 = new XMLElementImpl(this.contentType.getAttribute(), conditionRoot); el1.setContent(this.source); conditionRoot.addChild(el1); XMLElementImpl el2 = new XMLElementImpl(VALUE_ELEMENT_NAME, conditionRoot); el2.setContent(this.value); el2.setAttribute(VALUE_ATTR_REGEX_NAME, Boolean.toString(isRegEx)); el2.setAttribute(VALUE_ATTR_CASEINSENSITIVE_NAME, Boolean.toString(isCaseInsensitive)); conditionRoot.addChild(el2); }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl el = new XMLElementImpl(this.contentType.getAttribute(), conditionRoot); el.setContent(this.content); conditionRoot.addChild(el); }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl el = new XMLElementImpl(this.contentType.getAttribute(), conditionRoot); el.setContent(this.content); conditionRoot.addChild(el); }
@Override public void makeXMLData(IXMLElement conditionRoot) { XMLElementImpl javael = new XMLElementImpl("java", conditionRoot); conditionRoot.addChild(javael); XMLElementImpl classel = new XMLElementImpl("class", javael); classel.setContent(this.classname); javael.addChild(classel); if (this.methodname != null) { XMLElementImpl methodel = new XMLElementImpl("method", javael); methodel.setContent(this.methodname); javael.addChild(methodel); } if (this.fieldname != null) { XMLElementImpl fieldel = new XMLElementImpl("field", javael); fieldel.setContent(this.fieldname); javael.addChild(fieldel); } XMLElementImpl returnvalel = new XMLElementImpl("returnvalue", javael); returnvalel.setContent(this.returnvalue); returnvalel.setAttribute("type", this.returnvaluetype); javael.addChild(returnvalel); }