}
public void doEREntry(DataReference id, DataReference descriptor, DataReference source, int version)
throws HandlerException {
streamHandler.startElement(new SystemUseEntryElement("ER", 1));
streamHandler.data(new ByteDataReference(id.getLength()));
streamHandler.data(new ByteDataReference(descriptor.getLength()));
streamHandler.data(new ByteDataReference(source.getLength()));
streamHandler.data(new ByteDataReference(version));
streamHandler.data(id);
if (descriptor.getLength() > 0) {
streamHandler.data(descriptor);
}
streamHandler.data(source);