Class MetadataModule

  • All Implemented Interfaces:
    com.sun.syndication.feed.CopyFrom, com.sun.syndication.feed.module.Module, java.io.Serializable, java.lang.Cloneable

    public class MetadataModule
    extends com.sun.syndication.feed.module.ModuleImpl
    Rome module for adding SAPERION metadata to a RSS/ATOM feed.
    Author:
    dam
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String URI
      The namespace URI of this module.
    • Constructor Summary

      Constructors 
      Constructor Description
      MetadataModule()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copyFrom​(java.lang.Object object)  
      java.lang.Class getInterface()  
      java.util.Map<java.lang.String,​java.lang.String> getMetadatas()
      Returns a map of metadatas.
      void setMetadatas​(java.util.Map<java.lang.String,​java.lang.String> metaData)
      Sets a map of metadatas.
      • Methods inherited from class com.sun.syndication.feed.module.ModuleImpl

        clone, equals, getUri, hashCode, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • URI

        public static final java.lang.String URI
        The namespace URI of this module.
        See Also:
        Constant Field Values
    • Constructor Detail

      • MetadataModule

        public MetadataModule()
        Constructor.
    • Method Detail

      • copyFrom

        public void copyFrom​(java.lang.Object object)
      • getInterface

        public java.lang.Class getInterface()
      • getMetadatas

        public java.util.Map<java.lang.String,​java.lang.String> getMetadatas()
        Returns a map of metadatas.
        Returns:
        the map of metadatas.
      • setMetadatas

        public void setMetadatas​(java.util.Map<java.lang.String,​java.lang.String> metaData)
        Sets a map of metadatas.
        Parameters:
        metaData - The metadata to be set.