src/main/java/de/alpharogroup/xml/tag/Tag.java
public boolean addChild(final Tag child, final Integer position)
	{
		if (getChildren() == null)
		{
			this.childTagPositions = ListFactory.newArrayList();
		}
		final ChildTagPosition childTagPosition = ChildTagPosition.builder().child(child)
			.position(position).build();
		return getChildren().add(childTagPosition);
	}
public boolean addChild(final Tag child, final Integer position)
	{
		if (getChildren() == null)
		{
			this.childTagPositions = ListFactory.newArrayList();
		}
		final ChildTagPosition childTagPosition = ChildTagPosition.builder().child(child)
			.position(position).build();
		return getChildren().add(childTagPosition);
	}
public boolean addChild ( final Tag child , final Integer position ) { if ( getChildren ( ) == null ) { this . childTagPositions = ListFactory . newArrayList ( ) ; } final ChildTagPosition childTagPosition = ChildTagPosition . builder ( ) . child ( child ) . position ( position ) . build ( ) ; return getChildren ( ) . add ( childTagPosition ) ; }
Adds the given {@link Tag} child to the given position.

@param child
the {@link Tag} child
@param position
the position to add
@return true, if the given {@link Tag} child was added successfully to the given position
otherwise false
Adds the given { @link Tag } child to the given position .