org.autosemantix.deltalog
Class PackageElement

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

public class PackageElement
extends DefaultElement
implements Element

This class represents a package that is part of a certain change operation.

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

Constructor Summary
PackageElement(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 reference for this element.
 
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

PackageElement

public PackageElement(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 reference for this element.

Returns:
An XPath representation of this element.