Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sun.syndication.feed.module
Class ModuleImpl  view ModuleImpl download ModuleImpl.java

java.lang.Object
  extended bycom.sun.syndication.feed.module.ModuleImpl
All Implemented Interfaces:
java.lang.Cloneable, com.sun.syndication.feed.CopyFrom, Module, java.io.Serializable
Direct Known Subclasses:
DCModuleImpl, SyModuleImpl

public abstract class ModuleImpl
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable, Module

Base class for modules describing Metadata of feeds, default implementations. Examples of such modules are the Dublin Core and Syndication modules.


Field Summary
private  com.sun.syndication.feed.impl.ObjectBean _objBean
           
private  java.lang.String _uri
           
 
Constructor Summary
protected ModuleImpl(java.lang.Class beanClass, java.lang.String uri)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Creates a deep 'bean' clone of the object.
 boolean equals(java.lang.Object other)
          Indicates whether some other object is "equal to" this one as defined by the Object equals() method.
 java.lang.String getUri()
          Returns the URI of the module.
 int hashCode()
          Returns a hashcode value for the object.
 java.lang.String toString()
          Returns the String representation for the object.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sun.syndication.feed.CopyFrom
copyFrom, getInterface
 

Field Detail

_objBean

private com.sun.syndication.feed.impl.ObjectBean _objBean

_uri

private java.lang.String _uri
Constructor Detail

ModuleImpl

protected ModuleImpl(java.lang.Class beanClass,
                     java.lang.String uri)
Constructor.

Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates a deep 'bean' clone of the object.

Specified by:
clone in interface Module

equals

public boolean equals(java.lang.Object other)
Indicates whether some other object is "equal to" this one as defined by the Object equals() method.


hashCode

public int hashCode()
Returns a hashcode value for the object.

It follows the contract defined by the Object hashCode() method.


toString

public java.lang.String toString()
Returns the String representation for the object.


getUri

public java.lang.String getUri()
Returns the URI of the module.

Specified by:
getUri in interface Module