public void setGenerator ( final IdGenerator generator ) { if ( generator != null ) { this . idGenerator = generator ; swidTag . setId ( idGenerator . nextId ( ) ) ; } }
Set element identifier generator .