protected void mergeParent_RelativePath( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getRelativePath(); if ( src != null ) { if ( sourceDominant || target.getRelativePath() == null ) { target.setRelativePath( src ); target.setLocation( "relativePath", source.getLocation( "relativePath" ) ); } } }
protected void mergeParent_Version( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getVersion(); if ( src != null ) { if ( sourceDominant || target.getVersion() == null ) { target.setVersion( src ); target.setLocation( "version", source.getLocation( "version" ) ); } } }
protected void mergeParent_GroupId( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
protected void mergeParent_ArtifactId( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); parent.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) parent.setLocation( "groupId", _location ); parent.setGroupId( interpolatedTrimmed( parser.nextText(), "groupId" ) ); parent.setLocation( "artifactId", _location ); parent.setArtifactId( interpolatedTrimmed( parser.nextText(), "artifactId" ) ); parent.setLocation( "version", _location ); parent.setVersion( interpolatedTrimmed( parser.nextText(), "version" ) ); parent.setLocation( "relativePath", _location ); parent.setRelativePath( interpolatedTrimmed( parser.nextText(), "relativePath" ) );
protected void mergeParent_GroupId( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getGroupId(); if ( src != null ) { if ( sourceDominant || target.getGroupId() == null ) { target.setGroupId( src ); target.setLocation( "groupId", source.getLocation( "groupId" ) ); } } }
protected void mergeParent_Version( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getVersion(); if ( src != null ) { if ( sourceDominant || target.getVersion() == null ) { target.setVersion( src ); target.setLocation( "version", source.getLocation( "version" ) ); } } }
protected void mergeParent_ArtifactId( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getArtifactId(); if ( src != null ) { if ( sourceDominant || target.getArtifactId() == null ) { target.setArtifactId( src ); target.setLocation( "artifactId", source.getLocation( "artifactId" ) ); } } }
protected void mergeParent_RelativePath( Parent target, Parent source, boolean sourceDominant, Map<Object, Object> context ) { String src = source.getRelativePath(); if ( src != null ) { if ( sourceDominant || target.getRelativePath() == null ) { target.setRelativePath( src ); target.setLocation( "relativePath", source.getLocation( "relativePath" ) ); } } }
InputLocation _location; _location = new InputLocation( parser.getLineNumber(), parser.getColumnNumber(), source ); parent.setLocation( "", _location ); for ( int i = parser.getAttributeCount() - 1; i >= 0; i-- ) parent.setLocation( "groupId", _location ); parent.setGroupId( getTrimmedValue( parser.nextText() ) ); parent.setLocation( "artifactId", _location ); parent.setArtifactId( getTrimmedValue( parser.nextText() ) ); parent.setLocation( "version", _location ); parent.setVersion( getTrimmedValue( parser.nextText() ) ); parent.setLocation( "relativePath", _location ); parent.setRelativePath( getTrimmedValue( parser.nextText() ) );