net.firstpartners.nounit.snippet
Class AbstractSnippet

java.lang.Object
  |
  +--net.firstpartners.nounit.snippet.AbstractSnippet
All Implemented Interfaces:
ISnippet
Direct Known Subclasses:
SnippetCalls, SnippetClass, SnippetMethod, SnippetPackage, SnippetProject, Snippets

public abstract class AbstractSnippet
extends java.lang.Object
implements ISnippet

Convenience Implementation of ISnippet containing methods shared by subclasses


Field Summary
protected  java.lang.String innerAccess
          inner Store of the Access Modifier
protected  java.lang.String innerName
          inner Store of this method name
 
Constructor Summary
AbstractSnippet()
          Creates new AbstractSnippet Needed due to implicit call to constructor
 
Method Summary
 java.lang.String toString()
          Methods implementing this should override the toString() method of object
protected  java.lang.String toXml(org.jdom.Element jDomDescription)
          Get an XML Representation of this Class (as String of XML)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

innerName

protected java.lang.String innerName
inner Store of this method name

innerAccess

protected java.lang.String innerAccess
inner Store of the Access Modifier
Constructor Detail

AbstractSnippet

public AbstractSnippet()
Creates new AbstractSnippet Needed due to implicit call to constructor
Method Detail

toString

public java.lang.String toString()
Methods implementing this should override the toString() method of object
Overrides:
toString in class java.lang.Object
Returns:
returnString containing the info (in string form) contained in the abstract class

toXml

protected java.lang.String toXml(org.jdom.Element jDomDescription)
Get an XML Representation of this Class (as String of XML)
Parameters:
jDomDescription - , Element , to be converted to Xml String
Returns:
String with the XML description