Package com.rometools.rome.feed.module
Class ModuleImpl
- java.lang.Object
-
- com.rometools.rome.feed.module.ModuleImpl
-
- All Implemented Interfaces:
CopyFrom,Module,Serializable,Cloneable
- Direct Known Subclasses:
DCModuleImpl,SyModuleImpl
public abstract class ModuleImpl extends Object implements Cloneable, Serializable, Module
Base class for modules describing Metadata of feeds, default implementations. Examples of such modules are the Dublin Core and Syndication modules.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedModuleImpl(Class<?> beanClass, String uri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()Creates a deep 'bean' clone of the object.booleanequals(Object other)Indicates whether some other object is "equal to" this one as defined by the Object equals() method.StringgetUri()Returns the URI of the module.inthashCode()Returns a hashcode value for the object.StringtoString()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.rometools.rome.feed.CopyFrom
copyFrom, getInterface
-
-
-
-
Method Detail
-
clone
public Object clone() throws CloneNotSupportedException
Creates a deep 'bean' clone of the object.- Specified by:
clonein interfaceModule- Overrides:
clonein classObject- Returns:
- a clone of the object.
- Throws:
CloneNotSupportedException- thrown if an element of the object cannot be cloned.
-
equals
public boolean equals(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 String toString()
Returns the String representation for the object.
-
-