A special implementation of
scala.collection.Map[QName, String] with
nice overloading and some implicit magic designed for use containing element
attributes in Elem.
A node containing a single string, representing unescaped character data in the XML tree.
An extension of scala.collection.generic.CanBuildFrom with functionality required to generate zippers (during selection).
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 (Node)).
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 Group[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 Converter pimp.
A trait for objects which construct antixml from XML sources.
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 Attributes specializedMap.
Serves as a simple container for the implicit lifting of scala.collection.generic.CanBuildFrom to 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 anti method onto any object for which there exists a conversion
into Anti-XML.
Pimps the anti 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 anti method without seeing conflicts.
Implicitly lifts a scala.String into an instance of Selectorwhich can then be passed to the appropriate methods on Group.
Implicitly lifts a scala.Symbol into an instance of Selectorwhich can then be passed to the appropriate methods on Group.
Non-node selector which finds exclusively Textnodes and pulls out their String content.
Non-node selector which finds exclusively Textnodes and pulls out their String content. Unlike most selectors, the
result of using this selector is not a 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:
String => Selector[Elem, Zipper[Elem]]– Used to allow string-based selection syntax with Group. (e.g.ns \ "name")Symbol => Selector[Elem, Zipper[Elem]]– Used to allow symbol-based selection syntax with Group. (e.g.ns \ 'name)A.A => Converter[A]– Implements explicit conversions fromscala.xmltypes to Anti-XML correspondents (where applicable). This technically makes theantimethod available on all types. However, that method will only be callable on very specific types in thescala.xmllibrary, 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 forQName, which prevents it from cluttering the dispatch implicit space (i.e. it only applies as a type coercion, not a pimp).