scales.xml.parser.pull

XmlPulls

trait XmlPulls extends AnyRef

Wraps the stax cursor inteface (iterator just adds weight here).

scala.xml.pull uses a thread based on stax approach to push/pull events.

This code uses stax only, extra iteratee goodness will appear curtousy of scalaz....

Source
XmlPull.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. XmlPulls
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type PullType = Either[XmlEvent, EndElem]

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. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  17. def pullXml[RToken <: OptimisationToken](source: InputSource, optimisationStrategy: MemoryOptimisationStrategy[RToken] = defaultOptimisation, parserFactoryPool: Pool[XMLInputFactory] = impl.DefaultStaxInputFactoryPool, closeAfterUse: Boolean = true): XmlPull with Closeable with IsClosed

    Creates a new XmlPull based on source.

    Creates a new XmlPull based on source. By default it will close the stream after use.

  18. def pullXmlCompletely[RToken <: OptimisationToken](source: InputSource, strategy: PathOptimisationStrategy[RToken] = defaultPathOptimisation, parserFactoryPool: Pool[XMLInputFactory] = impl.DefaultStaxInputFactoryPool, closeAfterUse: Boolean = true): Doc

    Load xml via pull parsing

  19. def pullXmlReader[RToken <: OptimisationToken](reader: XMLStreamReader, defaultOptimisationStrategy: MemoryOptimisationStrategy[RToken] = defaultOptimisation): XmlPull

    Allows plugging in other feeds, non source based, as such not closeable

  20. def pullXmlResource[RToken <: OptimisationToken](source: InputSource, optimisationStrategy: MemoryOptimisationStrategy[RToken] = defaultOptimisation, parserFactoryPool: Pool[XMLInputFactory] = impl.DefaultStaxInputFactoryPool): (CloseOnNeed, XmlPull)

    Creates a new XmlPull based on source for direct handling of the stream.

    Creates a new XmlPull based on source for direct handling of the stream. Note to close the stream you must bracket. The individual XmlPull will be closed after the document end but the stream will remain open

  21. def sourceUser(source: InputSource): SourceUser with Product with Serializable

    Provides proxied sources to the pull parsers, the stream provided is the stream used

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

    Definition Classes
    AnyRef
  23. implicit def toLeft(ev: XmlEvent): Left[XmlEvent, Nothing]

  24. implicit def toRight(ev: EndElem): Right[Nothing, EndElem]

  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. def toTree[RToken <: OptimisationToken](pull: Iterator[PullType], strategy: PathOptimisationStrategy[RToken] = defaultPathOptimisation): xml.XmlTree

    Attempts to convert a stream to a tree

  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped