Trait rdftk_iri::Normalize[][src]

pub trait Normalize {
    fn normalize(self) -> Result<Self>
    where
        Self: Sized
, { ... } }
Expand description

This trait is used on the IRI and it’s components to normalize their value according to the relevant RFC rules.

  1. Normalization will ensure the correct case of certain components.
  2. Normalization will removing any unnecessary “.” and “..” segments from the path component of a hierarchical URI.

Provided methods

Return a normalized version of self. The default for normalization is to do nothing and return self unchanged.

Implementors