eu.cdevreeze.yaidom.utils

EditableSimpleElem

Related Doc: package utils

final class EditableSimpleElem extends EditableClarkElem

EditableClarkElem taking a simple element, as well as a "fall-back" function mapping namespace URIs to prefixes (the empty string as prefix for the default namespace).

Preferably, this "fall-back" function is backed by an invertible Scope, without default namespace. After all, introducing a default namespace could affect resolution of QNames in text content or attribute values. For other namespace URIs that are not even in that fall-back scope, a prefix could be generated.

The methods that functionally set or add children make sure that no prefixed namespace undeclarations are introduced.

Linear Supertypes
EditableClarkElem, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EditableSimpleElem
  2. EditableClarkElem
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EditableSimpleElem(elem: Elem, getFallbackPrefixForNamespace: (String) ⇒ String)

Type Members

  1. type E = Elem

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  2. type N = Node

    Definition Classes
    EditableSimpleElem → EditableClarkElem

Value Members

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

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

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

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

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val elem: Elem

  7. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  9. def filteringChildren(p: (N) ⇒ Boolean): EditableSimpleElem

    Functionally updates the children by filtering.

    Functionally updates the children by filtering.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  10. def filteringResolvedAttributes(p: (EName, String) ⇒ Boolean): EditableSimpleElem

    Functionally updates the resolved attributes by filtering.

    Functionally updates the resolved attributes by filtering. For scoped elements, this filters the (QName-keyed) attributes.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  11. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  13. val getFallbackPrefixForNamespace: (String) ⇒ String

  14. def hashCode(): Int

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

    Definition Classes
    Any
  16. def minusChild(index: Int): EditableSimpleElem

    Functionally removes a child.

    Functionally removes a child.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  17. def minusResolvedAttribute(attrEName: EName): EditableSimpleElem

    Functionally removes a resolved attribute.

    Functionally removes a resolved attribute.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  18. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  21. def plusChild(index: Int, newChild: N): EditableSimpleElem

    Functionally inserts a child.

    Functionally inserts a child. For scoped elements, it is ensured by the implementation that no prefixed namespace undeclarations are introduced. After all, they are illegal in XML 1.0.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  22. def plusChild(newChild: N): EditableSimpleElem

    Functionally adds a child.

    Functionally adds a child. For scoped elements, it is ensured by the implementation that no prefixed namespace undeclarations are introduced. After all, they are illegal in XML 1.0.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  23. def plusChildOption(index: Int, newChildOption: Option[N]): EditableSimpleElem

    Optionally functionally inserts a child.

    Optionally functionally inserts a child. For scoped elements, it is ensured by the implementation that no prefixed namespace undeclarations are introduced. After all, they are illegal in XML 1.0.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  24. def plusChildOption(newChildOption: Option[N]): EditableSimpleElem

    Optionally functionally adds a child.

    Optionally functionally adds a child. For scoped elements, it is ensured by the implementation that no prefixed namespace undeclarations are introduced. After all, they are illegal in XML 1.0.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  25. def plusResolvedAttribute(attrEName: EName, attrValue: String): EditableSimpleElem

    Functionally adds a resolved attribute.

    Functionally adds a resolved attribute. For scoped elements, this sets the attribute QName, and may affect the Scope.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  26. def plusResolvedAttributeOption(attrEName: EName, attrValueOption: Option[String]): EditableSimpleElem

    Optionally functionally adds a resolved attribute.

    Optionally functionally adds a resolved attribute. For scoped elements, this sets the attribute QName, if applicable, and may affect the Scope.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toElem: E

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withChildren(newChildren: IndexedSeq[N]): EditableSimpleElem

    Functionally updates the children.

    Functionally updates the children. For scoped elements, it is ensured by the implementation that no prefixed namespace undeclarations are introduced. After all, they are illegal in XML 1.0.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  34. def withResolvedAttributes(newResolvedAttributes: Iterable[(EName, String)]): EditableSimpleElem

    Functionally updates the resolved attributes.

    Functionally updates the resolved attributes. For scoped elements, this sets the attribute QNames, and may affect the Scope.

    Definition Classes
    EditableSimpleElem → EditableClarkElem
  35. def withResolvedName(newEName: EName): EditableSimpleElem

    Functionally updates the resolved name.

    Functionally updates the resolved name. For scoped elements, this sets the QName, and may affect the Scope.

    Definition Classes
    EditableSimpleElem → EditableClarkElem

Inherited from EditableClarkElem

Inherited from AnyRef

Inherited from Any

Ungrouped