Packages

package xml

Contains the model classes for XML/HTML tags.

Overview

* Examples of interesting nodes are:

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

Type Members

  1. trait XmlASTNode extends HASTNode

    It represents the "entry point" for the XML AST.

  2. case class XmlAttributeNode (name: XmlNameNode, value: Option[StringLiteralNode]) extends XmlASTNode with Product with Serializable

    It represents a node attribute.

    It represents a node attribute. Attributes can be in the form attr="value", but it also considers hanging attributes with no value.

    name

    the name of the attribute

    value

    the optional value of the attribute.

  3. case class XmlCDATANode (contents: XmlTextNode) extends XmlElementNode with Product with Serializable

    It represents a CDATA node.

    It represents a CDATA node. Contents of CDATA nodes are ignored by a parser. CDATA tags match <![CDATA[...any string but "]]>"..]]> pattern.

    contents

    the contents of the CDATA node.

  4. case class XmlCommentNode (contents: String) extends XmlElementNode with Product with Serializable

    It represents a comment nodes.

    It represents a comment nodes. Comments node are in the form .

    contents

    the contents of the comment as a string.

  5. case class XmlComposedNode (name: XmlNameNode, attributes: Seq[XmlAttributeNode], elements: Seq[XmlElementNode]) extends XmlElementNode with Product with Serializable

    It represents XML nodes with double tag nodes (i.e., <tag attr="val" ...

    It represents XML nodes with double tag nodes (i.e., <tag attr="val" ... > [children] </tag> ).

    name

    the name of the composed node.

    attributes

    the sequence of attributes for the composed node.

  6. case class XmlDocumentNode (prolog: Option[XmlElementNode], rootElement: XmlElementNode) extends XmlASTNode with Product with Serializable

    Represents an XML Document.

    Represents an XML Document.

    prolog

    the optional prolog element.

    rootElement

    the root Xml Element for the document.

  7. trait XmlElementNode extends XmlASTNode
  8. case class XmlIslandNode (nodes: Seq[XmlASTNode]) extends HASTNode with Product with Serializable

    An Xml Island node, that is, a sequence of XmlASTNode found in an island.

    An Xml Island node, that is, a sequence of XmlASTNode found in an island.

    nodes

    the sequence of nodes composing the island.

  9. case class XmlNameNode (value: String) extends XmlASTNode with Product with Serializable

    It represents a XML Name.

    It represents a XML Name. It identifies legal tag names.

  10. case class XmlPrologNode (attributes: Seq[XmlAttributeNode]) extends XmlElementNode with Product with Serializable

    It represents the XML prolog.

    It represents the XML prolog. It optionally reports the version and encoding

  11. case class XmlSingleNode (name: XmlNameNode, attributes: Seq[XmlAttributeNode]) extends XmlElementNode with Product with Serializable

    It represents XML nodes, wither single tag nodes (i.e., <tag attrs..

    It represents XML nodes, wither single tag nodes (i.e., <tag attrs.. />).

    name

    the name of the single node.

    attributes

    the sequence of attributes for the single node.

  12. case class XmlTextNode (contents: String, embeddedContents: Option[EmbeddedContentsNode] = None) extends XmlElementNode with EmbeddedContentsProvider with Product with Serializable

    It represents text contained between tags.

    It represents text contained between tags.

    contents

    the contents of the XML text node.

Value Members

  1. object XmlImplicits

    If imported, allows to generate code from a XmlASTNode

Inherited from AnyRef

Inherited from Any

Ungrouped