* @return ActivationOS
*/
private ActivationOS parseActivationOS( String tagName, XmlPullParser parser, boolean strict )
throws IOException, XmlPullParserException
{
ActivationOS activationOS = new ActivationOS();
java.util.Set parsed = new java.util.HashSet();
while ( parser.nextTag() == XmlPullParser.START_TAG )
{
if ( checkFieldWithDuplicate( parser, "name", null, parsed ) )
{
activationOS.setName( getTrimmedValue( parser.nextText() ) );
}
else if ( checkFieldWithDuplicate( parser, "family", null, parsed ) )
{
activationOS.setFamily( getTrimmedValue( parser.nextText() ) );
}
else if ( checkFieldWithDuplicate( parser, "arch", null, parsed ) )
{
activationOS.setArch( getTrimmedValue( parser.nextText() ) );
}
else if ( checkFieldWithDuplicate( parser, "version", null, parsed ) )
{
activationOS.setVersion( getTrimmedValue( parser.nextText() ) );
}
else
{
if ( strict )
{