A special implementation of scala.collection.Map[
com.codecommit.antixml.QName, String]
with
nice overloading and some implicit magic designed for use containing element
attributes in com.codecommit.antixml.Elem.
A node containing a single string, representing unescaped character data in the XML tree.
A factory for com.codecommit.antixml.Zipper instances.
A marker interface for scala.collection.mutable.CanBuildFrom instances that can be lifted into com.codecommit.antixml.CanBuildFromWithZipper instances that operate on com.codecommit.antixml.Node types.
Pimp container for the explicit conversions into Anti-XML types.
An XML element consisting of an optional namespace prefix, a name (or identifier), a set of attributes, a namespace prefix scope (mapping of prefixes to namespace URIs), and a sequence of child nodes.
A node representing an entity reference.
Represents a collection of arbitrary nodes (com.codecommit.antixml.Node)).
Allow these to be mixed in where needed, instead of having to import the package object.
Root of the Node
ADT, representing the different types of supported XML
nodes which may appear in an XML fragment.
Defines a SAX2 handler which produces an instance
of com.codecommit.antixml.Group[
com.codecommit.antixml.Elem]
as
a result.
A processing instruction consisting of a target
and some data
.
An XML parser build on top of org.w3c.sax
.
An XML parser build on top of javax.xml.stream
.
A node containing a single string, representing character data in the XML tree.
Typeclass definition for conversions used by the com.codecommit.antixml.Converter pimp.
A trait for objects which construct antixml from XML sources.
Provides an unselect
operation which copies this Group's nodes back to the XML tree from which
it was derived.
Describes the parameters of a merge operation.
Defines the merge function used to resolve the behavior of Zipper.unselect
at conflicted holes.
Wildcard selector which passes all nodes unmodified.
Wildcard selector which passes all nodes unmodified. This is analogous
to the "_"
selector syntax in scala.xml
. For example: ns \ * \ "name"
Factory companion for the com.codecommit.antixml.Attributes specialized
Map
.
Different implicit implementations of com.codecommit.antixml.CanBuildFromWithZipper.
Factory singleton for Group
.
The default XML parser instance for the Anti-XML framework.
Contains the built-in explicit conversions into Anti-XML.
Pimps the convert
method onto any object for which there exists a conversion
into Anti-XML.
Pimps the convert
method onto any object for which there exists a conversion
into Anti-XML. Note that this conversion is an implicit value, statically
enforced and thus shouldn't be the source of any collision issues. It should
actually be possible to have another implicit conversion in scope which
pimps the convert
method without seeing conflicts.
Non-node selector which finds exclusively com.codecommit.antixml.Text
nodes and pulls out their String
content.
Non-node selector which finds exclusively com.codecommit.antixml.Text
nodes and pulls out their String
content. Unlike most selectors, the
result of using this selector is not a com.codecommit.antixml.Group, but
a generic scala.collection.Traversable[String]
. This selector can
be used to emulate the NodeSeq#text
method provided by scala.xml
. For
example: ns \\ text mkString
(this is analogous, but not quite equivalent
to calling ns.text
in scala.xml
).
Base package for the Anti-XML framework. Note that importing this package brings in a number of implicit conversions. Specifically:
A
.A => Converter[A]
– Implements explicit conversions fromscala.xml
types to Anti-XML correspondents (where applicable). This technically makes theconvert
method available on all types. However, that method will only be callable on very specific types in thescala.xml
library, and thus it shouldn't cause any collsion issues.(String, String) => (QName, String)
– Required to get nice syntax for unqualified attribute names. Note there is an additional conversion of typeString => QName
, but that conversion is defined on the companion object for com.codecommit.antixml.QName, which prevents it from cluttering the dispatch implicit space (i.e. it only applies as a type coercion, not a pimp).