Founded a way to do this! First, make a List of ProfileItems as an attribute of a class such as:
public class Profile {
@Key("dxp:property")
public List<ProfileItem> profiles;
}
Where ProfileItem is defined as:
public class ProfileItem {
@Key("@name")
public String name;
@Key("@value")
public String value;
}
The @ in the String of the Key annotation marks that name and value are attributes at the node dxp:property.
With this, now I can look for the name attribute that I want, that is ga:accountName.
See you!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…