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 sax
  • CircularIncludeException
  • UnavailableResourceException
  • XIncludeException
  • 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
p

scala.xml

include

package include

Type Members

  1. class CircularIncludeException extends XIncludeException

    A CircularIncludeException is thrown when an included document attempts to include itself or one of its ancestor documents.

  2. class UnavailableResourceException extends XIncludeException

    An UnavailableResourceException is thrown when an included document cannot be found or loaded.

  3. class XIncludeException extends Exception

    XIncludeException is the generic superclass for all checked exceptions that may be thrown as a result of a violation of XInclude's rules.

    XIncludeException is the generic superclass for all checked exceptions that may be thrown as a result of a violation of XInclude's rules.

    Constructs an XIncludeException with the specified detail message. The error message string message can later be retrieved by the java.lang.Throwable#getMessage method of class java.lang.Throwable.

Ungrouped