It also depends on how well you sell yourself to your prospective employers.
Someone with a 5 year experience can sell himself or herself much better than someone with 10 year experience by bringing out his/her achievements, experience, soft-skills, etc in a better light.
This is very subjective, and cannot be easily categorized by just number of years of experience alone. Some people have just the same year's experience repeated 3 times, whilst others have real 3 year experience by working on wide varieties of projects. Some are more pro-active in learning things compared to others.
As a guide, people can go to websites like http://www.payscale.com/
or by checking the local advertisements to get a rough indication as to how much they are worth. This will only be a guide. The real value depends on
-- How well you can contribute to your prospective employers.
-- Your past accomplishments and experience well presented in your resume/CV to get more job interviews.
-- Your performance at the job interviews to convince your propsective employer(s) that you can get the job done.
-- The number of job offers you get and your ability to negotiate, pick , and chooose the job that is conducive to your career aspirations as opposed to settling with the first offer.
-- Your ability to network and look for jobs through non-traditional channels (e.g. through your contacts, by building your online persona, ringing up your past employers, etc)
-- Your ability to find a niche field in addition Java experience -- For example Java/JEE + web Methods or Java/JEE + Oracle Service Bus, or Java/JEE + invetment bank domain knowledge/Insurance domain knowledge, etc. This will enable you to standout from the rest.