Class

com.scalaxal.io

XalFileReader

Related Doc: package io

Permalink

class XalFileReader extends AnyRef

Reads a xAL root element (XAL) from various file, string and NodeSeq input sources

See also

xALFromXml

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XalFileReader
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new XalFileReader(xalExtractor: Option[XalExtractor] = Some(XalFromXml), parser: SAXParser = scala.xml.XML.parser)

    Permalink

    xalExtractor

    the xALExtractor object used to extract xAL from xml, default xALFromXml

    parser

    the SAX XML parser, default scala.xml.XML.parser

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getXalFromFile(name: String): Option[XAL]

    Permalink

    get a Xal root element from the input file name

    get a Xal root element from the input file name

    name

    the input file name

    returns

    a Xal root element option

  11. def getXalFromFile(fd: FileDescriptor): Option[XAL]

    Permalink

    get a Xal root element from the input file descriptor

    get a Xal root element from the input file descriptor

    fd

    the input xml file descriptor

    returns

    a Xal root element option

  12. def getXalFromFile(file: File): Option[XAL]

    Permalink

    get a Xal root element from the input file

    get a Xal root element from the input file

    file

    the input xml file

    returns

    a Xal root element option

  13. def getXalFromNodeSeq(nodeSeq: NodeSeq): Option[XAL]

    Permalink

    get a Xal root element from its kml NodeSeq

    get a Xal root element from its kml NodeSeq

    nodeSeq

    the input xml node sequence

    returns

    a Xal root element option

  14. def getXalFromString(xmlString: String): Option[XAL]

    Permalink

    get a Xal root element from its input string representation

    get a Xal root element from its input string representation

    xmlString

    the input xml string

    returns

    a Xal root element option

  15. def getXalFromZipFile(file: File): Seq[Option[XAL]]

    Permalink

    get a sequence of Xal root element options from the input kmz file

    get a sequence of Xal root element options from the input kmz file

    file

    the input kmz file

    returns

    a sequence of Xal root element options

  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. def loadXal(source: InputSource): Option[XAL]

    Permalink

    get a xAL root element from the input source

    get a xAL root element from the input source

    source

    xAL input source, such as a file, a file name, a file descriptor

    returns

    a xAL root element option

  19. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped