public Categories getCategories(String stateId) throws VoteSmartException, VoteSmartErrorException {
    """
	This method dumps categories that contain released ratings according to state.
	Input: stateId (default: 'NA')
	
	@param stateId
	@return {@link Categories}
    """
		return api.query("Rating.getCategories", new ArgMap("stateId", stateId), Categories.class );
	}
public Categories getCategories(String stateId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Rating.getCategories", new ArgMap("stateId", stateId), Categories.class );
	}
public Categories getCategories ( String stateId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Rating.getCategories" , new ArgMap ( "stateId" , stateId ) , Categories . class ) ; }
This method dumps categories that contain released ratings according to state.
Input: stateId (default: 'NA')

@param stateId
@return {@link Categories}
This method dumps categories that contain released ratings according to state . Input : stateId ( default : NA )