Robot Framework
robot.utils.htmlformatters.LinkFormatter Class Reference

Public Member Functions

def format_link (self, text)
 
def format_url (self, text)
 

Private Member Functions

def _format_link (self, text)
 
def _format_url (self, text, format_as_image=True)
 
def _get_image (self, src, title=None)
 
def _get_link (self, href, content=None)
 
def _is_image (self, text)
 
def _quot (self, attr)
 
def _replace_url (self, format_as_image, match)
 

Static Private Attributes

tuple _image_exts
 
 _link
 
 _url
 

Detailed Description

Definition at line 21 of file htmlformatters.py.

Member Function Documentation

◆ _format_link()

def robot.utils.htmlformatters.LinkFormatter._format_link (   self,
  text 
)
private

Definition at line 70 of file htmlformatters.py.

◆ _format_url()

def robot.utils.htmlformatters.LinkFormatter._format_url (   self,
  text,
  format_as_image = True 
)
private

Definition at line 42 of file htmlformatters.py.

◆ _get_image()

def robot.utils.htmlformatters.LinkFormatter._get_image (   self,
  src,
  title = None 
)
private

Definition at line 54 of file htmlformatters.py.

◆ _get_link()

def robot.utils.htmlformatters.LinkFormatter._get_link (   self,
  href,
  content = None 
)
private

Definition at line 58 of file htmlformatters.py.

◆ _is_image()

def robot.utils.htmlformatters.LinkFormatter._is_image (   self,
  text 
)
private

Definition at line 78 of file htmlformatters.py.

◆ _quot()

def robot.utils.htmlformatters.LinkFormatter._quot (   self,
  attr 
)
private

Definition at line 61 of file htmlformatters.py.

◆ _replace_url()

def robot.utils.htmlformatters.LinkFormatter._replace_url (   self,
  format_as_image,
  match 
)
private

Definition at line 47 of file htmlformatters.py.

◆ format_link()

def robot.utils.htmlformatters.LinkFormatter.format_link (   self,
  text 
)

Definition at line 64 of file htmlformatters.py.

◆ format_url()

def robot.utils.htmlformatters.LinkFormatter.format_url (   self,
  text 
)

Definition at line 39 of file htmlformatters.py.

Member Data Documentation

◆ _image_exts

robot.utils.htmlformatters.LinkFormatter._image_exts
staticprivate

Definition at line 25 of file htmlformatters.py.

◆ _link

robot.utils.htmlformatters.LinkFormatter._link
staticprivate

Definition at line 29 of file htmlformatters.py.

◆ _url

robot.utils.htmlformatters.LinkFormatter._url
staticprivate

Definition at line 33 of file htmlformatters.py.


The documentation for this class was generated from the following file: