com.sun.syndication.feed.module

Class ModuleImpl

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.

Author: Alejandro Abdelnur

Field Summary
ObjectBean_objBean
String_uri
Constructor Summary
protected ModuleImpl(Class beanClass, String uri)
Constructor.
Method Summary
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.

Field Detail

_objBean

private ObjectBean _objBean

_uri

private String _uri

Constructor Detail

ModuleImpl

protected ModuleImpl(Class beanClass, String uri)
Constructor.

Parameters: uri URI of the module.

Method Detail

clone

public Object clone()
Creates a deep 'bean' clone of the object.

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.

Parameters: other he reference object with which to compare.

Returns: true if 'this' object is equal to the 'other' object.

getUri

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

Returns: URI of the module.

hashCode

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

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

Returns: the hashcode of the bean object.

toString

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

Returns: String representation for the object.

Copyright © Sun Microsystems. All Rights Reserved.