I have this Java enum:
public enum ConnectionParameter {
state,
host,
port,
secure,
username,
password
}
that contains the fields of an XML file on which I have to work using XPATH (but this is not important at this time)
I have to iterate on all this enum fields to do an operation for each one.
How can I do it?
Tnx
Andrea