org.autosemantix.deltalog
Class ClassElement

java.lang.Object
  extended byorg.autosemantix.deltalog.DefaultElement
      extended byorg.autosemantix.deltalog.ClassElement
All Implemented Interfaces:
Element

public class ClassElement
extends DefaultElement
implements Element

This class represents a class element in a deltalog change log.

Version:
Created on Jul 20, 2005
Author:
Shawn Simister

Constructor Summary
ClassElement(java.lang.String name)
           
 
Method Summary
 java.lang.String toString()
          Get the string representation of this element.
 java.lang.String toXML()
          Get the XML serialization of this element.
 java.lang.String toXPath()
          Get the XPath string.
 
Methods inherited from class org.autosemantix.deltalog.DefaultElement
getAnnotation, setAnnotation, toURI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.autosemantix.deltalog.Element
getAnnotation, setAnnotation, toURI
 

Constructor Detail

ClassElement

public ClassElement(java.lang.String name)
Method Detail

toString

public java.lang.String toString()
Description copied from interface: Element
Get the string representation of this element.

Specified by:
toString in interface Element
Overrides:
toString in class DefaultElement

toXML

public java.lang.String toXML()
Description copied from interface: Element
Get the XML serialization of this element.

Specified by:
toXML in interface Element
Overrides:
toXML in class DefaultElement

toXPath

public java.lang.String toXPath()
Get the XPath string.

Returns:
An XPath representation of this class.