I think, this is a good idea.
The methods "public String getMatrix()", "public Form getMatrixAsForm()", "public Form getMatrixAsForm(CharacterSet)" and "setMatrix(String)" are nice, too. And setQuery(Form) and setMatrix(Form) are other good ideas, I think.

   In this case, wouldn't it be sufficient to add new methods to the
   Reference class?
    - addQueryParameter(String name, String value)
    - addSegment(String segment)
    - addMatrixParameter(String name, String value)


Stephan

Reply via email to