protected void mergeMailingList_Name( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
protected void mergeMailingList_Subscribe( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getSubscribe(); if ( src != null ) { if ( sourceDominant || target.getSubscribe() == null ) { target.setSubscribe( src ); target.setLocation( "subscribe", source.getLocation( "subscribe" ) ); } } }
protected void mergeMailingList_Unsubscribe( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getUnsubscribe(); if ( src != null ) { if ( sourceDominant || target.getUnsubscribe() == null ) { target.setUnsubscribe( src ); target.setLocation( "unsubscribe", source.getLocation( "unsubscribe" ) ); } } }
protected void mergeMailingList_Post( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getPost(); if ( src != null ) { if ( sourceDominant || target.getPost() == null ) { target.setPost( src ); target.setLocation( "post", source.getLocation( "post" ) ); } } }
protected void mergeMailingList_Archive( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArchive(); if ( src != null ) { if ( sourceDominant || target.getArchive() == null ) { target.setArchive( src ); target.setLocation( "archive", source.getLocation( "archive" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); mailingList.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) mailingList.setLocation( "name", _location ); mailingList.setName( interpolatedTrimmed( parser.nextText(), "name" ) ); mailingList.setLocation( "subscribe", _location ); mailingList.setSubscribe( interpolatedTrimmed( parser.nextText(), "subscribe" ) ); mailingList.setLocation( "unsubscribe", _location ); mailingList.setUnsubscribe( interpolatedTrimmed( parser.nextText(), "unsubscribe" ) ); mailingList.setLocation( "post", _location ); mailingList.setPost( interpolatedTrimmed( parser.nextText(), "post" ) ); mailingList.setLocation( "archive", _location ); mailingList.setArchive( interpolatedTrimmed( parser.nextText(), "archive" ) ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); mailingList.setLocation( "otherArchives", _locations ); while ( parser.nextTag() == XmlPullParser.START_TAG )
protected void mergeMailingList_Post( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getPost(); if ( src != null ) { if ( sourceDominant || target.getPost() == null ) { target.setPost( src ); target.setLocation( "post", source.getLocation( "post" ) ); } } }
protected void mergeMailingList_Subscribe( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getSubscribe(); if ( src != null ) { if ( sourceDominant || target.getSubscribe() == null ) { target.setSubscribe( src ); target.setLocation( "subscribe", source.getLocation( "subscribe" ) ); } } }
protected void mergeMailingList_Name( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getName(); if ( src != null ) { if ( sourceDominant || target.getName() == null ) { target.setName( src ); target.setLocation( "name", source.getLocation( "name" ) ); } } }
protected void mergeMailingList_Unsubscribe( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getUnsubscribe(); if ( src != null ) { if ( sourceDominant || target.getUnsubscribe() == null ) { target.setUnsubscribe( src ); target.setLocation( "unsubscribe", source.getLocation( "unsubscribe" ) ); } } }
protected void mergeMailingList_Archive( MailingList target, MailingList source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArchive(); if ( src != null ) { if ( sourceDominant || target.getArchive() == null ) { target.setArchive( src ); target.setLocation( "archive", source.getLocation( "archive" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); mailingList.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) mailingList.setLocation( "name", _location ); mailingList.setName( getTrimmedValue( parser.nextText() ) ); mailingList.setLocation( "subscribe", _location ); mailingList.setSubscribe( getTrimmedValue( parser.nextText() ) ); mailingList.setLocation( "unsubscribe", _location ); mailingList.setUnsubscribe( getTrimmedValue( parser.nextText() ) ); mailingList.setLocation( "post", _location ); mailingList.setPost( getTrimmedValue( parser.nextText() ) ); mailingList.setLocation( "archive", _location ); mailingList.setArchive( getTrimmedValue( parser.nextText() ) ); InputLocation _locations; _locations = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); mailingList.setLocation( "otherArchives", _locations ); while ( parser.nextTag() == XmlPullParser.START_TAG )