Add macro for validators static get function

The static Get function in the validator classes was a code
duplicate. It has been extracted into a macro which can then
by used by the different validator classes.

Change-Id: I13d5f33a930f58f5b7a73371d79a184603e2e03c

git-svn-id: https://svn.apache.org/repos/asf/etch/trunk@1679582 13f79535-47bb-0310-9956-ffa450edef68
1 file changed