net.firstpartners.nounit.snippet
Class SnippetCalls

java.lang.Object
  |
  +--net.firstpartners.nounit.snippet.AbstractSnippet
        |
        +--net.firstpartners.nounit.snippet.SnippetCalls
All Implemented Interfaces:
ISnippet, IXmlConstants, IXmlJdomSource, IXmlSource

public class SnippetCalls
extends AbstractSnippet
implements IXmlSource, IXmlJdomSource, IXmlConstants

Holds Information about the methods called from a Java Method


Fields inherited from class net.firstpartners.nounit.snippet.AbstractSnippet
innerAccess, innerName
 
Fields inherited from interface net.firstpartners.nounit.snippet.xml.IXmlConstants
ATTRIBUTE_ACCESS, ATTRIBUTE_CLASS, ATTRIBUTE_METHOD, ATTRIBUTE_NAME, ATTRIBUTE_PACKAGE_LOCATION, ELEMENT_CALLS, ELEMENT_CLASS, ELEMENT_CLASS_EXTENDS, ELEMENT_METHOD, ELEMENT_PACKAGE, ELEMENT_PARAM, ELEMENT_PROJECT
 
Constructor Summary
SnippetCalls(java.lang.String classCalled, java.lang.String methodCalled, java.util.HashMap parameters)
          Creates new SnippetMethod
 
Method Summary
 org.jdom.Element getNodes()
          Get an XML Representation of this Class (as Jdom nodes)
 java.lang.String toString()
          over-ride Object.toString() to provide more information about this class
 java.lang.String toXml()
          Get an XML Representation of this Class (as String of XML)
 
Methods inherited from class net.firstpartners.nounit.snippet.AbstractSnippet
toXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SnippetCalls

public SnippetCalls(java.lang.String classCalled,
                    java.lang.String methodCalled,
                    java.util.HashMap parameters)
Creates new SnippetMethod
Parameters:
name - of this snippet
accessModifier -  
parameters - , HashMap with value pairs 1,Integer 2,Integer 3,String or whatever the method signature is
Method Detail

toString

public java.lang.String toString()
over-ride Object.toString() to provide more information about this class
Overrides:
toString in class AbstractSnippet
Returns:
stringDescription of Class

toXml

public java.lang.String toXml()
Get an XML Representation of this Class (as String of XML)
Specified by:
toXml in interface IXmlSource
Returns:
String with the XML description

getNodes

public org.jdom.Element getNodes()
Get an XML Representation of this Class (as Jdom nodes)
Specified by:
getNodes in interface IXmlJdomSource
Returns:
methodRoot with the XML description