Uses of Class
com.machinezoo.pushmode.dom.DomFragment
-
Uses of DomFragment in com.machinezoo.pushmode.dom
Modifier and TypeMethodDescriptionDomFragment.add
(DomContent child) Adds new child node to this fragment.Adds literal text to this fragment Consecutive text nodes will be concatenated.<C extends DomContent>
DomFragmentDomFragment.add
(Collection<C> children) Adds all nodes in aCollection
to this fragment.<C extends DomContent>
DomFragmentAdds all nodes in aStream
to this fragment.DomFragment.assign
(DomFragment other) Replaces contents of this fragment with contents of another fragment.DomFragment.clone()
Creates mutable deep clone of thisDomFragment
.DomFragment.freeze()
Protects this fragment from further modification.static DomFragment
DomFragment.join
(DomContent separator, Iterable<? extends DomContent> items) static DomFragment
DomFragment.join
(String separator, Iterable<? extends DomContent> items) Modifier and TypeMethodDescriptionDomFragment.assign
(DomFragment other) Replaces contents of this fragment with contents of another fragment.ModifierConstructorDescriptionDomFragment
(DomFragment other) Creates deep mutable copy of the DOM fragment.