public abstract class GeoRSSModule extends ModuleImpl implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected AbstractGeometry |
geometry |
static java.lang.String |
GEORSS_GEORSS_URI
namespace URI for georss simple: "http://www.georss.org/georss"
|
static java.lang.String |
GEORSS_GML_URI
namespace URI for GML georss : "http://www.opengis.net/gml"
|
static java.lang.String |
GEORSS_W3CGEO_URI
namespace URI for w3c georss : "http://www.w3.org/2003/01/geo/wgs84_pos#"
|
static org.jdom2.Namespace |
GML_NS
Namespace for gml georss : xmlns:gml="http://www.opengis.net/gml"
|
private static org.slf4j.Logger |
LOG |
private static long |
serialVersionUID |
static org.jdom2.Namespace |
SIMPLE_NS
Namespace for georss simple : xmlns:georss="http://www.georss.org/georss"
|
static java.lang.String |
version |
static org.jdom2.Namespace |
W3CGEO_NS
Namespace for w3c georss : xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
|
Modifier | Constructor and Description |
---|---|
protected |
GeoRSSModule(java.lang.Class<? extends GeoRSSModule> beanClass,
java.lang.String uri) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a deep 'bean' clone of the object.
|
void |
copyFrom(CopyFrom obj)
Copies all the properties of the given bean into this one.
|
AbstractGeometry |
getGeometry()
returns the geometry
|
Position |
getPosition()
Convenience method to return point geometry.
|
void |
setGeometry(AbstractGeometry geometry)
Set geometry of georss element
|
void |
setPosition(Position pos)
Convenience method to set point geometry.
|
equals, getUri, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
getInterface
private static final long serialVersionUID
private static final org.slf4j.Logger LOG
protected AbstractGeometry geometry
public static final java.lang.String version
public static final java.lang.String GEORSS_GEORSS_URI
public static final java.lang.String GEORSS_W3CGEO_URI
public static final java.lang.String GEORSS_GML_URI
public static final org.jdom2.Namespace SIMPLE_NS
public static final org.jdom2.Namespace W3CGEO_NS
public static final org.jdom2.Namespace GML_NS
protected GeoRSSModule(java.lang.Class<? extends GeoRSSModule> beanClass, java.lang.String uri)
public void setGeometry(AbstractGeometry geometry)
geometry
- geometrypublic AbstractGeometry getGeometry()
public Position getPosition()
public void setPosition(Position pos)
public void copyFrom(CopyFrom obj)
CopyFrom
Any existing properties in this bean are lost.
This method is useful for moving from one implementation of a bean interface to another. For example from the default SyndFeed bean implementation to a Hibernate ready implementation.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
ModuleImpl
clone
in interface Module
clone
in class ModuleImpl
java.lang.CloneNotSupportedException
- thrown if an element of the object cannot be cloned.