Packages

  • package root
    Definition Classes
    root
  • package scala
    Definition Classes
    root
  • package xml
    Definition Classes
    scala
  • package dtd
    Definition Classes
    xml
  • package factory
    Definition Classes
    xml
  • package include
    Definition Classes
    xml
  • package parsing
    Definition Classes
    xml
  • package persistent
    Definition Classes
    xml
  • package pull

    Classes needed to view an XML document as a series of events.

    Classes needed to view an XML document as a series of events. The document is parsed by an scala.xml.pull.XMLEventReader instance. You can treat it as an scala.collection.Iterator to retrieve the events, which are all subclasses of scala.xml.pull.XMLEvent.

    scala> val source = Source.fromString("""1.0" encoding="UTF-8" standalone="yes"?>
    customvalue"?>
    BAR">
    ]>Hello&bar;>""")
    
    source: scala.io.Source = non-empty iterator
    
    scala> val reader = new XMLEventReader(source)
    reader: scala.xml.pull.XMLEventReader = non-empty iterator
    
    scala> reader.foreach{ println(_) }
    EvProcInstr(instruction,custom value="customvalue")
    EvText(
    )
    EvElemStart(null,foo,,)
    EvText(Hello)
    EvComment( this is a comment )
    EvElemStart(null,bar,,)
    EvText(BAR)
    EvElemEnd(null,bar)
    EvElemStart(null,bar,,)
    EvEntityRef(gt)
    EvElemEnd(null,bar)
    EvElemEnd(null,foo)
    EvText(
    
    )
    Definition Classes
    xml
  • package transform
    Definition Classes
    xml
  • BasicTransformer
  • RewriteRule
  • RuleTransformer
p

scala.xml

transform

package transform

Type Members

  1. abstract class BasicTransformer extends (Node) ⇒ Node

    A class for XML transformations.

    A class for XML transformations.

    Version

    1.0

  2. abstract class RewriteRule extends BasicTransformer

    A RewriteRule, when applied to a term, yields either the result of rewriting the term or the term itself if the rule is not applied.

    A RewriteRule, when applied to a term, yields either the result of rewriting the term or the term itself if the rule is not applied.

    Version

    1.0

  3. class RuleTransformer extends BasicTransformer

Ungrouped