this.write(context, "<" + (prefix == null ? elementName : (prefix + ":" + elementName)));
return ELEMENT_WRITER;
}
@Override public void visitEnd(XMLWriterContext context) {
Tag tag = context.getCurrentTag();
if (tag.isStartTagOpen()) {
this.write(context, " />");
} else {
this.write(context, "</" + tag.toString() + ">");
}
context.pop();
}