Class

eu.cdevreeze.yaidom.utils

EditableSimpleElem

Related Doc: package utils

Permalink

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.

Annotations
@deprecated
Deprecated

(Since version 1.8.0) For element creation, consider using 'ClarkNode.Elem' instead

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Type Members

  1. type E = Elem

    Permalink
    Definition Classes
    EditableSimpleElemEditableClarkElem
  2. type N = Node

    Permalink
    Definition Classes
    EditableSimpleElemEditableClarkElem

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. val elem: Elem

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

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

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

    Permalink

    Functionally updates the children by filtering.

    Functionally updates the children by filtering.

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

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  11. def finalize(): Unit

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

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

    Permalink
  14. def hashCode(): Int

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

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

    Permalink

    Functionally removes a child.

    Functionally removes a child.

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

    Permalink

    Functionally removes a resolved attribute.

    Functionally removes a resolved attribute.

    Definition Classes
    EditableSimpleElemEditableClarkElem
  18. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  22. def plusChild(newChild: N): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  23. def plusChildOption(index: Int, newChildOption: Option[N]): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  24. def plusChildOption(newChildOption: Option[N]): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  25. def plusChildren(childSeq: IndexedSeq[N]): EditableSimpleElem

    Permalink

    Functionally adds some children.

    Functionally adds some 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
    EditableSimpleElemEditableClarkElem
  26. def plusResolvedAttribute(attrEName: EName, attrValue: String): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  27. def plusResolvedAttributeOption(attrEName: EName, attrValueOption: Option[String]): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toElem: E

    Permalink
    Definition Classes
    EditableSimpleElemEditableClarkElem
  30. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withChildSeqs(newChildSeqs: IndexedSeq[IndexedSeq[N]]): EditableSimpleElem

    Permalink

    Shorthand for withChildren(newChildSeqs.flatten)

    Shorthand for withChildren(newChildSeqs.flatten)

    Definition Classes
    EditableSimpleElemEditableClarkElem
  35. def withChildren(newChildren: IndexedSeq[N]): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  36. def withResolvedAttributes(newResolvedAttributes: Iterable[(EName, String)]): EditableSimpleElem

    Permalink

    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
    EditableSimpleElemEditableClarkElem
  37. def withResolvedName(newEName: EName): EditableSimpleElem

    Permalink

    Functionally updates the resolved name.

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

    Definition Classes
    EditableSimpleElemEditableClarkElem

Inherited from EditableClarkElem

Inherited from AnyRef

Inherited from Any

Ungrouped