Hamas has said it will not disarm unless an independent Palestinian state is established with Jerusalem as its capital.