|
NAMEMail::AuthenticationResults::Header::Base - Base class for modelling parts of the Authentication Results HeaderVERSIONversion 2.20210915DESCRIPTIONSet of classes representing the various parts and sub parts of Authentication Results Headers.
Header AuthServID Version Comment SubEntry Entry Comment Entry Comment SubEntry Comment Entry SubEntry SubEntry Group Entry Comment SubEntry Comment Entry SubEntry METHODSnew()Return a new instance of this classset_key( $key )Set the key for this instance.Croaks if $key is invalid. key()Return the current key for this instance.Croaks if this instance type can not have a key. safe_set_value( $value )Set the value for this instance.Munges the value to remove invalid characters before setting. This method also removes some value characters when their inclusion would be likely to break simple parsers. set_value( $value )Set the value for this instance.Croaks if the value contains invalid characters. value()Returns the current value for this instance.stringify( $value )Returns $value with stringify rules applied.children()Returns a listref of this instances children.Croaks if this instance type can not have children. orphan()Removes the parent for this instance.Croaks if this instance does not have a parent. copy_children_from( $object )Copy (clone) all of the children from the given object into this object.add_parent( $parent )Sets the parent for this instance to the supplied object.Croaks if the relationship between $parent and $self is not valid. parent()Returns the parent object for this instance.remove_child( $child )Removes $child as a child of this instance.Croaks if the relationship between $child and $self is not valid. add_child( $child )Adds $child as a child of this instance.Croaks if the relationship between $child and $self is not valid. ancestor()Returns the top Header object and depth of this childas_string_prefix( $header )Add the prefix to as_string for this object when calledas a child of another objects as_string method call.as_json()Return this instance as a JSON serialised stringas_string()Returns this instance as a string.build_string( $header )Build a string using the supplied Mail::AuthenticationResults::FoldableHeader object.search( $search )Apply search rules in $search to this instance and return a Mail::AuthenticationResults::Header::Group object containing the matches.$search is a HASHREF with the following possible key/value pairs
AUTHORMarc Bradshaw <marc@marcbradshaw.net>COPYRIGHT AND LICENSEThis software is copyright (c) 2021 by Marc Bradshaw.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |