org.openprivacy.reptile.extensions.om
Class ChannelExtension
java.lang.Object
|
+--org.openprivacy.reptile.extensions.om.ChannelExtension
- public class ChannelExtension
- extends java.lang.Object
- Version:
- $Id: ChannelExtension.java,v 1.5 2002/02/09 05:55:48 burton Exp $
- Author:
- burtonator
|
Method Summary |
int |
count(org.apache.xalan.extensions.XSLProcessorContext context,
org.apache.xalan.templates.ElemExtensionCall elem)
Get the total number of content feeds known. |
java.lang.String |
getContentType(java.lang.String location)
Get the content type for this channel's location |
java.lang.String |
getImage(java.lang.String channel)
Get the image (URL) for this channel by it's location. |
java.lang.String |
getTitle(java.lang.String location)
Get the title for the given location |
boolean |
isSupportedContentType(java.lang.String contentType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelExtension
public ChannelExtension()
count
public int count(org.apache.xalan.extensions.XSLProcessorContext context,
org.apache.xalan.templates.ElemExtensionCall elem)
- Get the total number of content feeds known.
isSupportedContentType
public boolean isSupportedContentType(java.lang.String contentType)
- See Also:
ContentTransformerMap.isSupportedContentType(java.lang.String)
getTitle
public java.lang.String getTitle(java.lang.String location)
- Get the title for the given location
getContentType
public java.lang.String getContentType(java.lang.String location)
- Get the content type for this channel's location
getImage
public java.lang.String getImage(java.lang.String channel)
- Get the image (URL) for this channel by it's location. If none was found
return a default.