src/main/java/com/machinezoo/pushmode/dom/DomFragment.java
public DomFragment assign(DomFragment other) {
		touch();
		assignChildren(other);
		return this;
	}
/**
	 * Replaces contents of this fragment with contents of another fragment.
	 * Since fragment is merely a list of child nodes,
	 * these child nodes are copied from the source fragment into this fragment.
	 * Previous content of this fragment is discarded.
	 * <p>
	 * Most of the DOM API consists of builder-like API to construct DOM trees.
	 * When DOM tree must be modified, it is recommended to completely rebuild it,
	 * perhaps using bits of the old tree in the process, and return the new tree.
	 * However, it is sometimes not possible to change the returned pointer
	 * and in those cases the fragment must be actually modified.
	 * Application should build new fragment as usual and then
	 * use this method to replace contents of the original fragment.
	 * 
	 * @param other
	 *            source fragment to be assigned to this fragment
	 * @return {@code this}
	 * @throws IllegalStateException
	 *             if this fragment is frozen
	 * @see #clone()
	 * @see #DomFragment(DomFragment)
	 */
Replaces contents of this fragment with contents of another fragment.
Since fragment is merely a list of child nodes,
these child nodes are copied from the source fragment into this fragment.
Previous content of this fragment is discarded.

Most of the DOM API consists of builder-like API to construct DOM trees.
When DOM tree must be modified, it is recommended to completely rebuild it,
perhaps using bits of the old tree in the process, and return the new tree.
However, it is sometimes not possible to change the returned pointer
and in those cases the fragment must be actually modified.
Application should build new fragment as usual and then
use this method to replace contents of the original fragment.


Replaces contents of this fragment with contents of another fragment . Since fragment is merely a list of child nodes these child nodes are copied from the source fragment into this fragment . Previous content of this fragment is discarded . Most of the DOM API consists of builder - like API to construct DOM trees . When DOM tree must be modified it is recommended to completely rebuild it perhaps using bits of the old tree in the process and return the new tree . However it is sometimes not possible to change the returned pointer and in those cases the fragment must be actually modified . Application should build new fragment as usual and then use this method to replace contents of the original fragment .
public DomFragment assign(DomFragment other) {
		touch();
		assignChildren(other);
		return this;
	}
public DomFragment assign ( DomFragment other ) { touch ( ) ; assignChildren ( other ) ; return this ; }
Replaces contents of this fragment with contents of another fragment.
Replaces contents of this fragment with contents of another fragment .