com.phasmidsoftware.xmldoc.core.Text
See theText companion object
Represents a text element that wraps a CharSequence and provides functionality for merging text and matching content.
Value parameters
- $
-
the wrapped CharSequence representing the text content.
Attributes
- Constructor
-
Creates a new Text instance.
- Companion
-
object
- Graph
-
- Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Checks whether this instance is equal to that. This universal equality method is defined in AnyRef.
Checks whether this instance is equal to that. This universal equality method is defined in AnyRef.
Attributes
- Definition Classes
-
Equals -> Any
Method to determine if this Text matches the given name.
Method to determine if this Text matches the given name.
Value parameters
- name
-
the name to match
Attributes
- Returns
-
true if the this matches name.
Method to merge this and another Text element.
Method to merge this and another Text element.
Value parameters
- t
-
the object to be merged with this.
Attributes
- Returns
-
the merged value of T.
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
-
Product
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an Iterator[Any]
- Inherited from:
-
Product