@Override
  public void write(final XmlWriter writer) {
    writer.startElement("hspacer");
    try {
      writeId(writer);
      writeConstraints(writer);
    }
    finally {
      writer.endElement(); // hspacer
    }
  }
@Override
  public void write(final XmlWriter writer)