eu.cdevreeze.yaidom

Declarations

final case class Declarations(map: Map[String, String]) extends Immutable with Product with Serializable

Namespace declarations (and undeclarations), typically at the level of one element.

The Declarations is backed by a map from prefixes (or the empty string for the default namespace) to namespace URIs (or the empty string). If the mapped value is the empty string, it is an undeclaration.

This class does not depend on Scopes.

Linear Supertypes
Serializable, Serializable, Product, Equals, Immutable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Declarations
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Immutable
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Declarations(map: Map[String, String])

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. def ++(declarations: Declarations): Declarations

    Returns Declarations(this.map ++ declarations.map)

  5. def --(prefixes: Set[String]): Declarations

    Returns Declarations(this.map -- prefixes)

  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(arg0: Any): Boolean

    Definition Classes
    Declarations → Equals
  10. def clone(): AnyRef

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

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

    Definition Classes
    Declarations → Equals → AnyRef → Any
  13. def finalize(): Unit

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

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

    Definition Classes
    Declarations → AnyRef → Any
  16. def isEmpty: Boolean

    Returns true if this Declarations is empty.

    Returns true if this Declarations is empty. Faster than comparing this Declarations against the empty Declarations.

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val map: Map[String, String]

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

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

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

    Definition Classes
    AnyRef
  22. def productArity: Int

    Definition Classes
    Declarations → Product
  23. def productElement(arg0: Int): Any

    Definition Classes
    Declarations → Product
  24. def productIterator: Iterator[Any]

    Definition Classes
    Product
  25. def productPrefix: String

    Definition Classes
    Declarations → Product
  26. def retainingDefaultNamespace: Declarations

    Returns an adapted copy of this Declarations, but retaining only the default namespace, if any

  27. def retainingUndeclarations: Declarations

    Returns an adapted copy of this Declarations, but retaining only the undeclarations, if any

  28. def subDeclarationsOf(declarations: Declarations): Boolean

    Returns true if this is a sub-declarations of the given parameter Declarations.

    Returns true if this is a sub-declarations of the given parameter Declarations. A Declarations is considered sub-declarations of itself.

  29. def superDeclarationsOf(declarations: Declarations): Boolean

    Returns true if this is a super-declarations of the given parameter Declarations.

    Returns true if this is a super-declarations of the given parameter Declarations. A Declarations is considered super-declarations of itself.

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

    Definition Classes
    AnyRef
  31. def toString(): String

    Definition Classes
    Declarations → AnyRef → Any
  32. def toStringInXml: String

    Creates a String representation of this Declarations, as it is shown in an XML element

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()
  36. def withoutDefaultNamespace: Declarations

    Returns an adapted copy of this Declarations, but without the default namespace, if any

  37. def withoutUndeclarations: Declarations

    Returns an adapted copy of this Declarations, but without any undeclarations, if any

Deprecated Value Members

  1. def productElements: Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    (Since version 2.8.0) use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Immutable

Inherited from AnyRef

Inherited from Any