org.autosemantix.deltalog
Class AttributeElement
java.lang.Object
org.autosemantix.deltalog.DefaultElement
org.autosemantix.deltalog.AttributeElement
- All Implemented Interfaces:
- Element
- public class AttributeElement
- extends DefaultElement
- implements Element
The class represents a class attribute and can be used
to model changes to a specific attribute.
- Version:
- Created on Jul 20, 2005
- Author:
- Shawn Simister
Constructor Summary |
AttributeElement(java.lang.String name,
java.lang.String type)
|
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 an XPath representation of this element. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AttributeElement
public AttributeElement(java.lang.String name,
java.lang.String type)
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 an XPath representation of this element.
- Returns:
- The XPath for this element.