com.phasmidsoftware.xmldoc.core
Members list
Type members
Classlikes
Case class to represent a CDATA node.
Case class to represent a CDATA node.
Value parameters
- content
-
the payload of the CDATA node (will contain , & characters).
- post
-
the postfix (probably a newline).
- pre
-
the prefix (probably a newline).
Attributes
- Companion
- object
- Supertypes
Represents a point or vector in a three-dimensional Cartesian coordinate system.
Represents a point or vector in a three-dimensional Cartesian coordinate system.
Value parameters
- x
-
The x-coordinate of the Cartesian point.
- y
-
The y-coordinate of the Cartesian point.
- z
-
The z-coordinate of the Cartesian point.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Various utilities for functional programming.
Various utilities for functional programming.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
FP.type
This class represents an exception related to functional programming operations.
This class represents an exception related to functional programming operations.
Value parameters
- eo
-
An optional underlying cause for the exception, as a Throwable.
- msg
-
A message describing the exception.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
A specialized regular expression class that extends MappableRegex to provide functionality where the first character of each matched group is converted to lowercase, while the rest of the characters remain unchanged.
A specialized regular expression class that extends MappableRegex to provide functionality where the first character of each matched group is converted to lowercase, while the rest of the characters remain unchanged.
Value parameters
- r
-
The regular expression pattern as a string.
Attributes
- Constructor
-
Creates a
LowerCaseInitialRegexinstance with a specified regular expression pattern to apply the lowercase transformation to matched groups. - Supertypes
A class that extends the standard Regex functionality by allowing a transformation to be applied to the sequence of matched groups. This is achieved by providing a function that maps a list of matched groups to a new transformed list.
A class that extends the standard Regex functionality by allowing a transformation to be applied to the sequence of matched groups. This is achieved by providing a function that maps a list of matched groups to a new transformed list.
Value parameters
- f
-
A function that takes a list of matched groups and transforms it into another list.
- r
-
The regular expression pattern as a string.
Attributes
- Constructor
-
Creates a MappableRegex with a given regular expression pattern and a transformation function.
- Supertypes
-
class Regextrait Serializableclass Objecttrait Matchableclass Any
- Known subtypes
-
class LowerCaseInitialRegex
Hierarchical trait to satisfy merging.
Hierarchical trait to satisfy merging.
CONSIDER making it a typeclass instead.
Type parameters
- T
-
the underlying type.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class CDATAclass Textclass Coordinatesclass FeatureDatatrait Geometryclass LineStringclass LinearRingclass Modelclass MultiGeometryclass Pointclass Polygonclass GeometryDataclass KmlDataclass Placemarkclass TessellateShow all
Represents an exception thrown when a required field is missing during an XML-related operation.
Represents an exception thrown when a required field is missing during an XML-related operation.
This exception indicates that an expected field was absent, typically during parsing or validation of XML content. It provides additional context regarding the missing field and the reason for its absence through custom error messages.
Value parameters
- cause
-
The underlying throwable that caused this exception, if available.
- message
-
A detailed error message describing the missing field.
- reason
-
A string explaining the reason for the field's absence.
Attributes
- Supertypes
-
trait Producttrait Equalsclass XmlBaseExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
This class borrowed from Scala XML library as we rely on it but it is no longer used by Scala 3.
This class borrowed from Scala XML library as we rely on it but it is no longer used by Scala 3.
This class (which is not used by all XML parsers, but always used by the XHTML one) represents parseable character data, which appeared as CDATA sections in the input and is to be preserved as CDATA section in the output.
Attributes
- Companion
- object
- Supertypes
-
class Atom[String]class SpecialNodeclass Nodeclass NodeSeqtrait Serializabletrait Equalitytrait StrictOptimizedSeqOps[Node, Seq, NodeSeq]trait StrictOptimizedSeqOps[Node, Seq, NodeSeq]trait StrictOptimizedIterableOps[Node, Seq, NodeSeq]trait Seq[Node]trait SeqOps[Node, Seq, NodeSeq]trait Iterable[Node]class AbstractSeq[Node]trait Seq[Node]trait Puretrait Equalstrait SeqOps[Node, Seq, NodeSeq]trait PartialFunction[Int, Node]trait Int => Nodeclass AbstractIterable[Node]trait Iterable[Node]trait IterableFactoryDefaults[Node, Seq]trait IterableOps[Node, Seq, NodeSeq]trait IterableOnceOps[Node, Seq, NodeSeq]trait IterableOnce[Node]class Objecttrait Matchableclass AnyShow all
This singleton object contains the applyand unapply methods for convenient construction and deconstruction. Taken from scala.xml.PCData object.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Reflection.type
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
A case class representing an exception that occurs during reflection operations.
A case class representing an exception that occurs during reflection operations.
Value parameters
- ex
-
The underlying cause of the exception.
- str
-
The error message associated with the exception.
Attributes
- Supertypes
-
trait Producttrait Equalsclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
Represents a utility class for efficiently building and manipulating strings using a mutable StringBuilder. Provides methods to append strings with optional padding, trim trailing spaces, clear the buffer, and retrieve the current result as a string.
Represents a utility class for efficiently building and manipulating strings using a mutable StringBuilder. Provides methods to append strings with optional padding, trim trailing spaces, clear the buffer, and retrieve the current result as a string.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
SmartBuffer.type
A utility class that wraps around a StringBuilder and provides additional functionality such as appending strings with optional padding, trimming trailing spaces, and formatting output. Most of the methods appear to be non-mutating pure functions but, in fact, they all take advantage of the mutable nature of SmartBuffer.
A utility class that wraps around a StringBuilder and provides additional functionality such as appending strings with optional padding, trimming trailing spaces, and formatting output. Most of the methods appear to be non-mutating pure functions but, in fact, they all take advantage of the mutable nature of SmartBuffer.
Value parameters
- sb
-
the underlying StringBuilder instance.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Object TagProperties provides functionality to manage and query a collection of tags that must match a specified condition.
Object TagProperties provides functionality to manage and query a collection of tags that must match a specified condition.
This object allows adding tags to an internal collection and checking whether a given tag exists within that collection.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TagProperties.type
Companion object for the Text case class. Provides extractor utilities for Text and Option[Text].
Companion object for the Text case class. Provides extractor utilities for Text and Option[Text].
Attributes
Represents a text element that wraps a CharSequence and provides functionality for merging text and matching content.
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
- Supertypes
The TryUsing object provides utility methods to manage resources safely and effectively using Scala's Using and Try. It encapsulates resource management in a functional way, ensuring proper release of resources. The methods in this object extend the functionality of Using.apply by offering flattening operations over nested Try.
The TryUsing object provides utility methods to manage resources safely and effectively using Scala's Using and Try. It encapsulates resource management in a functional way, ensuring proper release of resources. The methods in this object extend the functionality of Using.apply by offering flattening operations over nested Try.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TryUsing.type
Object containing various utility methods for sequence filtering, XML parsing, and rendering XML nodes as strings. CONSIDER splitting this object among FP and XML.
Object containing various utility methods for sequence filtering, XML parsing, and rendering XML nodes as strings. CONSIDER splitting this object among FP and XML.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Utilities.type
The XML object does nothing other than give a name to this module.
The XML object does nothing other than give a name to this module.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
XML.type
A base exception class for handling XML-related errors.
A base exception class for handling XML-related errors.
This class serves as a parent exception for all XML-specific exceptions, allowing developers to catch and manage errors pertaining to XML processing. It extends the standard Exception class in Scala to provide additional context for XML-related errors through custom messages and causes.
Value parameters
- cause
-
The underlying throwable that triggered this exception, if available.
- message
-
A detailed error message describing the cause of the exception.
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
- Known subtypes
-
class MissingFieldExceptionclass XmlException
Companion object for the XmlException case class. Provides a utility method to create an instance of XmlException.
Companion object for the XmlException case class. Provides a utility method to create an instance of XmlException.
The apply method creates an XmlException with the specified message, and optionally allows the cause to be set to null by default.
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
XmlException.type
CONSIDER renaming as ExtractorException.
CONSIDER renaming as ExtractorException.
Value parameters
- cause
-
the cause (or null).
- message
-
the message.
Attributes
- Companion
- object
- Supertypes
-
trait Producttrait Equalsclass XmlBaseExceptionclass Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all