org.almendra.janet.cas.node
Class ClusterSubobjectDescriptor

java.lang.Object
  extended by org.almendra.janet.cas.node.Descriptor
      extended by org.almendra.janet.cas.node.ClusterSubobjectDescriptor
Direct Known Subclasses:
ClusterEventRegistryDescriptor, ClusterSpaceDescriptor

public abstract class ClusterSubobjectDescriptor
extends Descriptor


Field Summary
protected  java.lang.String name
           
protected  RegistryLocation registryLocation
           
static java.lang.String XMLHostnameTag
           
static java.lang.String XMLNameTag
           
static java.lang.String XMLPortTag
           
 
Constructor Summary
ClusterSubobjectDescriptor()
          Creates a new ClusterSubobjectDescriptor object.
ClusterSubobjectDescriptor(java.lang.String name, RegistryLocation registryLocation)
          Creates a new ClusterSubobjectDescriptor object.
 
Method Summary
protected  void fill(org.jdom.Element element)
           
protected  void fillRegistryLocation(org.jdom.Element element)
           
 java.lang.String getName()
           
 RegistryLocation getRegistryLocation()
           
protected abstract  java.lang.String getXMLNodeTag()
           
protected abstract  java.lang.String getXMLParentTag()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XMLNameTag

public static final java.lang.String XMLNameTag
See Also:
Constant Field Values

XMLHostnameTag

public static final java.lang.String XMLHostnameTag
See Also:
Constant Field Values

XMLPortTag

public static final java.lang.String XMLPortTag
See Also:
Constant Field Values

name

protected java.lang.String name

registryLocation

protected RegistryLocation registryLocation
Constructor Detail

ClusterSubobjectDescriptor

public ClusterSubobjectDescriptor()
Creates a new ClusterSubobjectDescriptor object.


ClusterSubobjectDescriptor

public ClusterSubobjectDescriptor(java.lang.String name,
                                  RegistryLocation registryLocation)
Creates a new ClusterSubobjectDescriptor object.

Method Detail

getName

public java.lang.String getName()
Returns:
Returns the name.

getRegistryLocation

public RegistryLocation getRegistryLocation()
Returns:
Returns the registryLocation.

getXMLParentTag

protected abstract java.lang.String getXMLParentTag()

getXMLNodeTag

protected abstract java.lang.String getXMLNodeTag()

fill

protected void fill(org.jdom.Element element)
             throws XMLParseException
Parameters:
clusterSpaceNode -
Throws:
XMLParseException

fillRegistryLocation

protected void fillRegistryLocation(org.jdom.Element element)
                             throws XMLParseException
Parameters:
element -
Throws:
XMLParseException