trait
XmlParser extends AnyRef
Abstract Value Members
-
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Contract for anything that knows how to parse XML.
The default implementation is always in scope and uses the standard java
javax.xml.parsers.DocumentBuilderFactory
, with no special option. This can be overridden to set some options or, more drastically, to change the parsing mechanism entirely. A typical use case is thenekohtml
module, which needs to take control of the entire parsing process to tidy up messy HTML documents.