public XmlSerializer newSerializer() throws XmlPullParserException {if (serializerClasses == null) {throw new XmlPullParserException("Factory initialization incomplete - has not tried "+classNamesLocation);}if(serializerClasses.size() == 0) {throw new XmlPullParserException("No valid serializer classes found in "+classNamesLocation);}final StringBuilder issues = new StringBuilder ();for (int i = 0; i < serializerClasses.size (); i++) {final Class ppClass = (Class) serializerClasses.get(i);try {final XmlSerializer ser = (XmlSerializer) ppClass.newInstance();return ser;} catch(Exception ex) {issues.append (ppClass.getName () + ": "+ ex.toString ()+"; ");}}throw new XmlPullParserException ("could not create serializer: "+issues);}

public XmlSerializer newSerializer ( ) throws XmlPullParserException { if ( serializerClasses == null ) { throw new XmlPullParserException ( "Factory initialization incomplete - has not tried " + classNamesLocation ) ; } if ( serializerClasses . size ( ) == 0 ) { throw new XmlPullParserException ( "No valid serializer classes found in " + classNamesLocation ) ; } final StringBuilder issues = new StringBuilder ( ) ; for ( int i = 0 ; i < serializerClasses . size ( ) ; i ++ ) { final Class ppClass = ( Class ) serializerClasses . get ( i ) ; try { final XmlSerializer ser = ( XmlSerializer ) ppClass . newInstance ( ) ; return ser ; } catch ( Exception ex ) { issues . append ( ppClass . getName ( ) + ": " + ex . toString ( ) + "; " ) ; } } throw new XmlPullParserException ( "could not create serializer: " + issues ) ; }
public virtual org.xmlpull.v1.XmlSerializer newSerializer(){if (serializerClasses == null){throw new org.xmlpull.v1.XmlPullParserException("Factory initialization incomplete - has not tried "+ classNamesLocation);}if (serializerClasses.size() == 0){throw new org.xmlpull.v1.XmlPullParserException("No valid serializer classes found in "+ classNamesLocation);}java.lang.StringBuilder issues = new java.lang.StringBuilder();{for (int i = 0; i < serializerClasses.size(); i++){System.Type ppClass = (System.Type)serializerClasses.get(i);try{org.xmlpull.v1.XmlSerializer ser = (org.xmlpull.v1.XmlSerializer)System.Activator.CreateInstance(ppClass);return ser;}catch (System.Exception ex){issues.append(ppClass.FullName + ": " + ex.ToString() + "; ");}}}throw new org.xmlpull.v1.XmlPullParserException("could not create serializer: " +issues);}
