added generic render javadoc for states