Builds a new group with the specified set of nodes in order.
Builds a new group with the specified set of nodes in order. The most specific
group type possible is selected (e.g. Group[Elem]
). This method delegates
to the fromSeq
method.
Provides a scala.collection.generic.CanBuildFrom instance which mixes in com.codecommit.antixml.CanProduceZipper
Creates instances of com.codecommit.antixml.CanBuildFromWithZipper for com.codecommit.antixml.Group types.
An empty com.codecommit.antixml.Group with the given parameter type.
Builds a new group with the specified set of nodes in order.
Builds a new group with the specified set of nodes in order. The most specific
group type possible is selected (e.g. Group[Elem]
). If the given Seq
has the runtime type of scala.collection.immutable.Vector, then no
copying will be performed and the resulting Group
will be a simple wrapper
around the specified Vector
. However, if the Seq
has any other
runtime type, its contents will be copied into a new Vector
internal to
the resulting Group
. This design makes it impossible to accidentally
leak a mutable data structure into an XML tree. If the performance
implications of the copy operation prove prohibitive, then you must attempt
to ensure that the sequences you pass to this method are always of type
Vector
, since this will avoid the penalty.
Factory singleton for
Group
. This object is primarily used for creating newGroup
(s) from specified nodes.