@Test public void setName() { tested.setName(NAME); verify(element).setText(NAME); verify(element).setName(NAME); verify(valueMap).add(entryArgumentCaptor.capture()); final MetaDataTypeImpl value = (MetaDataTypeImpl) entryArgumentCaptor.getValue().getValue(); assertEquals(NAME, CustomElement.name.stripCData(value.getMetaValue())); }
public void setName(String value) { final String escaped = StringEscapeUtils.escapeXml10(value.trim()); element.setText(escaped); element.setName(escaped); CustomElement.name.of(element).set(value); }
TextAnnotationPropertyWriter extends PropertyWriter { public void setName(String value) { final String escaped = StringEscapeUtils.escapeXml10(value.trim()); element.setText(escaped); element.setName(escaped); CustomElement.name.of(element).set(value); } }
TextAnnotationPropertyWriter extends PropertyWriter { public void setName(String value) { final String escaped = StringEscapeUtils.escapeXml10(value.trim()); element.setText(escaped); element.setName(escaped); CustomElement.name.of(element).set(value); } TextAnnotationPropertyWriter(TextAnnotation element, VariableScope variableScope); }
TextAnnotationPropertyWriter extends PropertyWriter { public void setName(String value) { final String escaped = StringEscapeUtils.escapeXml10(value.trim()); element.setText(escaped); element.setName(escaped); CustomElement.name.of(element).set(value); } TextAnnotationPropertyWriter(TextAnnotation element, VariableScope variableScope); void setName(String value); @Override TextAnnotation getElement(); }
TextAnnotationPropertyWriter extends PropertyWriter { public void setName(String value) { final String escaped = StringEscapeUtils.escapeXml10(value.trim()); element.setText(escaped); element.setName(escaped); CustomElement.name.of(element).set(value); } TextAnnotationPropertyWriter(TextAnnotation element, VariableScope variableScope); void setName(String value); @Override TextAnnotation getElement();  }