Uses of Class
com.machinezoo.pushmode.dom.DomFragment
-
Packages that use DomFragment Package Description com.machinezoo.pushmode.dom DOM tree nodes and constructors. -
-
Uses of DomFragment in com.machinezoo.pushmode.dom
Methods in com.machinezoo.pushmode.dom that return DomFragment Modifier and Type Method Description DomFragment
DomFragment. add(DomContent child)
Adds new child node to this fragment.DomFragment
DomFragment. add(String text)
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>
DomFragmentDomFragment. add(Stream<C> children)
Adds all nodes in aStream
to this fragment.DomFragment
DomFragment. assign(DomFragment other)
Replaces contents of this fragment with contents of another fragment.DomFragment
DomFragment. clone()
Creates mutable deep clone of thisDomFragment
.DomFragment
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)
Methods in com.machinezoo.pushmode.dom with parameters of type DomFragment Modifier and Type Method Description DomFragment
DomFragment. assign(DomFragment other)
Replaces contents of this fragment with contents of another fragment.Constructors in com.machinezoo.pushmode.dom with parameters of type DomFragment Constructor Description DomFragment(DomFragment other)
Creates deep mutable copy of the DOM fragment.
-