fm.liveswitch.sdp.KeywordsAttribute Class Reference

Like the cat attribute, this is to assist identifying wanted sessions at the receiver. More...

Public Member Functions

String getKeywords ()
 Gets the keywords describing the purpose of the session. More...
 
 KeywordsAttribute (String keywords)
 Initializes a new instance of the fm.liveswitch.sdp.KeywordsAttribute class. More...
 
- Public Member Functions inherited from fm.liveswitch.sdp.Attribute
fm.liveswitch.sdp.AttributeType getAttributeType ()
 Gets this Attribute's Type. More...
 
fm.liveswitch.sdp.AttributeCategory getMultiplexingCategory ()
 Gets the Multiplexing Category of this Attribute. More...
 
void setAttributeType (fm.liveswitch.sdp.AttributeType value)
 Sets this Attribute's Type. More...
 
String toString ()
 Converts this instance to a string. More...
 

Static Public Member Functions

static fm.liveswitch.sdp.KeywordsAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.KeywordsAttribute class. More...
 
- Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute
static fm.liveswitch.sdp.Attribute createAttribute (String name, String value)
 Creates an attribute. More...
 
static String getTypeName (@SuppressWarnings("rawtypes") Class type)
 Gets the name of the attribute type. More...
 
static boolean isMediaLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to media streams. More...
 
static boolean isSessionLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to sessions. More...
 
static fm.liveswitch.sdp.Attribute parse (String s)
 Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More...
 

Protected Member Functions

String getAttributeValue ()
 Gets the internal value of the attribute. More...
 
- Protected Member Functions inherited from fm.liveswitch.sdp.Attribute
 Attribute ()
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

Like the cat attribute, this is to assist identifying wanted sessions at the receiver.

This allows a receiver to select interesting session based on keywords describing the purpose of the session; there is no central registry of keywords. It is a session-level attribute. It is a charset-dependent attribute, meaning that its value should be interpreted in the charset specified for the session description if one is specified, or by default in ISO 10646/UTF-8.

Constructor & Destructor Documentation

◆ KeywordsAttribute()

fm.liveswitch.sdp.KeywordsAttribute.KeywordsAttribute ( String  keywords)

Initializes a new instance of the fm.liveswitch.sdp.KeywordsAttribute class.

Parameters
keywordsThe keywords describing the purpose of the session.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.KeywordsAttribute fm.liveswitch.sdp.KeywordsAttribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.KeywordsAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.KeywordsAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getKeywords()

String fm.liveswitch.sdp.KeywordsAttribute.getKeywords ( )

Gets the keywords describing the purpose of the session.