Value Members
-
def
!=
(arg0: AnyRef): Boolean
-
def
!=
(arg0: Any): Boolean
-
def
##
(): Int
-
def
==
(arg0: AnyRef): Boolean
-
def
==
(arg0: Any): Boolean
-
def
asInstanceOf
[T0]
: T0
-
def
clone
(): AnyRef
-
def
eq
(arg0: AnyRef): Boolean
-
def
equals
(arg0: Any): Boolean
-
def
finalize
(): Unit
-
def
fromInputStream
(inputStream: InputStream): Elem
-
def
fromReader
(reader: Reader): Elem
-
def
fromSource
(source: Source): Elem
-
def
fromString
(xml: String): Elem
-
def
getClass
(): java.lang.Class[_]
-
def
hashCode
(): Int
-
def
isInstanceOf
[T0]
: Boolean
-
def
ne
(arg0: AnyRef): Boolean
-
def
notify
(): Unit
-
def
notifyAll
(): Unit
-
def
synchronized
[T0]
(arg0: ⇒ T0): T0
-
def
toString
(): String
-
def
wait
(): Unit
-
def
wait
(arg0: Long, arg1: Int): Unit
-
def
wait
(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
The default XML parser instance for the Anti-XML framework. This is really just a convenience instance of XMLParser. The default parser (currently) uses the Java StAX framework under the surface, though the parser interface is also 100% compatible with the SAX2 framework (see: SAXParser). The StAX implementation is the default primarily for performance reasons.
It is possible to reuse some of Anti-XML's internal parser infrastructure to parse into Anti-XML trees from alternative parse frameworks, such as HTML parsers (think: TagSoup). This infrastructure is exposed via the NodeSeqSAXHandler class. Unlike scala.xml, Anti-XML does not allow extension of its Node construction process. Thus, it is not possible to define (or directly parse into) custom Node instances. This capability wouldn't make much sense though, since Node is sealed. It is not possible to even define custom instances, much less produce them as part of the parse process.
StAXParser, SAXParser