org.apache.jetspeed.serializer.objects
Class JSMediaType
java.lang.Object
org.apache.jetspeed.serializer.objects.JSMediaType
public class JSMediaType
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private String name
id
private int id
characterSet
private String characterSet
title
private String title
description
private String description
capabilities
private ArrayList capabilities
mimeTypes
private ArrayList mimeTypes
capabilitiesString
private JSClientCapabilities capabilitiesString
mimeTypesString
private JSClientMimeTypes mimeTypesString
XML
private static final javolution.xml.XMLFormat XML
- SERIALIZER
JSMediaType
public JSMediaType()
JSMediaType
public JSMediaType(org.apache.jetspeed.capabilities.MediaType c)
getCharacterSet
public String getCharacterSet()
- Returns:
- Returns the characterSet.
setCharacterSet
public void setCharacterSet(String characterSet)
- Parameters:
characterSet
- The characterSet to set.
getDescription
public String getDescription()
- Returns:
- Returns the description.
setDescription
public void setDescription(String description)
- Parameters:
description
- The description to set.
getId
public int getId()
- Returns:
- Returns the id.
setId
public void setId(int id)
- Parameters:
id
- The id to set.
getName
public String getName()
- Returns:
- Returns the name.
setName
public void setName(String name)
- Parameters:
name
- The name to set.
getTitle
public String getTitle()
- Returns:
- Returns the title.
setTitle
public void setTitle(String titel)
- Parameters:
title
- The title to set.
append
private String append(JSCapability capability)
append
private String append(JSMimeType mime)
append
private String append(Object s)
putTokens
private String putTokens(ArrayList _list)
getCapabilities
public List getCapabilities()
- Returns:
- Returns the capabilities.
setCapabilities
public void setCapabilities(ArrayList capabilities)
- Parameters:
capabilities
- The capabilities to set.
getMimeTypes
public List getMimeTypes()
- Returns:
- Returns the mimeTypes.
setMimeTypes
public void setMimeTypes(ArrayList mimeTypes)
- Parameters:
mimeTypes
- The mimeTypes to set.
getCapabilitiesString
public JSClientCapabilities getCapabilitiesString()
getMimeTypesString
public JSClientMimeTypes getMimeTypesString()
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.