com.codecommit.antixml

XML

object XML extends StAXParser

The default XML parser instance for the Anti-XML framework. This is really just a convenience instance of com.codecommit.antixml.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: com.codecommit.antixml.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 com.codecommit.antixml.NodeSeqSAXHandler class. Unlike scala.xml, Anti-XML does not allow extension of its com.codecommit.antixml.Node construction process. Thus, it is not possible to define (or directly parse into) custom com.codecommit.antixml.Node instances. This capability wouldn't make much sense though, since com.codecommit.antixml.Node is sealed. It is not possible to even define custom instances, much less produce them as part of the parse process.

Source
XML.scala
See also

com.codecommit.antixml.StAXParser, com.codecommit.antixml.SAXParser

Linear Supertypes
StAXParser, XMLParser, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. XML
  2. StAXParser
  3. XMLParser
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromInputStream(inputStream: InputStream): Elem

    Definition Classes
    StAXParserXMLParser
  12. def fromReader(reader: Reader): Elem

    Definition Classes
    StAXParserXMLParser
  13. def fromSource(source: Source): Elem

    Definition Classes
    XMLParser
  14. def fromString(xml: String): Elem

    Definition Classes
    StAXParserXMLParser
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. def isBlank(back: String): Boolean

    Definition Classes
    StAXParser
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StAXParser

Inherited from XMLParser

Inherited from AnyRef

Inherited from Any

Ungrouped