iText 7 7.1.9 API
iText.StyledXmlParser.Css.Media.MediaType Class Reference

Class that bundles all the media types and allows you to registered valid media types in a Java.Util.Set<E>. More...

Static Public Member Functions

static bool  IsValidMediaType (String mediaType)
  Checks if a media type is registered as a valid media type. More...
 

Static Public Attributes

static readonly String  ALL = RegisterMediaType("all")
  The Constant ALL. More...
 
static readonly String  AURAL = RegisterMediaType("aural")
  The Constant AURAL. More...
 
static readonly String  BRAILLE = RegisterMediaType("braille")
  The Constant BRAILLE. More...
 
static readonly String  EMBOSSED = RegisterMediaType("embossed")
  The Constant EMBOSSED. More...
 
static readonly String  HANDHELD = RegisterMediaType("handheld")
  The Constant HANDHELD. More...
 
static readonly String  PRINT = RegisterMediaType("print")
  The Constant PRINT. More...
 
static readonly String  PROJECTION = RegisterMediaType("projection")
  The Constant PROJECTION. More...
 
static readonly String  SCREEN = RegisterMediaType("screen")
  The Constant SCREEN. More...
 
static readonly String  SPEECH = RegisterMediaType("speech")
  The Constant SPEECH. More...
 
static readonly String  TTY = RegisterMediaType("tty")
  The Constant TTY. More...
 
static readonly String  TV = RegisterMediaType("tv")
  The Constant TV. More...
 

Detailed Description

Class that bundles all the media types and allows you to registered valid media types in a Java.Util.Set<E>.

Member Function Documentation

◆ IsValidMediaType()

static bool iText.StyledXmlParser.Css.Media.MediaType.IsValidMediaType ( String  mediaType )
inlinestatic

Checks if a media type is registered as a valid media type.

Parameters
mediaType the media type
Returns
true, if it's a valid media type

Member Data Documentation

◆ ALL

readonly String iText.StyledXmlParser.Css.Media.MediaType.ALL = RegisterMediaType("all")
static

The Constant ALL.

◆ AURAL

readonly String iText.StyledXmlParser.Css.Media.MediaType.AURAL = RegisterMediaType("aural")
static

The Constant AURAL.

◆ BRAILLE

readonly String iText.StyledXmlParser.Css.Media.MediaType.BRAILLE = RegisterMediaType("braille")
static

The Constant BRAILLE.

◆ EMBOSSED

readonly String iText.StyledXmlParser.Css.Media.MediaType.EMBOSSED = RegisterMediaType("embossed")
static

The Constant EMBOSSED.

◆ HANDHELD

readonly String iText.StyledXmlParser.Css.Media.MediaType.HANDHELD = RegisterMediaType("handheld")
static

The Constant HANDHELD.

◆ PRINT

readonly String iText.StyledXmlParser.Css.Media.MediaType.PRINT = RegisterMediaType("print")
static

The Constant PRINT.

◆ PROJECTION

readonly String iText.StyledXmlParser.Css.Media.MediaType.PROJECTION = RegisterMediaType("projection")
static

The Constant PROJECTION.

◆ SCREEN

readonly String iText.StyledXmlParser.Css.Media.MediaType.SCREEN = RegisterMediaType("screen")
static

The Constant SCREEN.

◆ SPEECH

readonly String iText.StyledXmlParser.Css.Media.MediaType.SPEECH = RegisterMediaType("speech")
static

The Constant SPEECH.

◆ TTY

readonly String iText.StyledXmlParser.Css.Media.MediaType.TTY = RegisterMediaType("tty")
static

The Constant TTY.

◆ TV

readonly String iText.StyledXmlParser.Css.Media.MediaType.TV = RegisterMediaType("tv")
static

The Constant TV.