gr.uoa.di.madgik.commons.configuration.parameter.elements
Class Arguments

java.lang.Object
  extended by gr.uoa.di.madgik.commons.configuration.parameter.elements.Arguments

public class Arguments
extends java.lang.Object

This class is a member of the ObjectParameter description. Used to store the arguments that should be used in either a Method or a Constructor call.

Author:
gpapanikos

Constructor Summary
Arguments()
          Creates a new instnace
 
Method Summary
 void Add(Argument arg)
          Adds a new argument to teh collection
 void FromXML(org.w3c.dom.Element element)
          Parses the XML subtree provided to populate the instance
 java.util.List<Argument> GetArguments()
          The Contained arguments
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arguments

public Arguments()
Creates a new instnace

Method Detail

Add

public void Add(Argument arg)
Adds a new argument to teh collection

Parameters:
arg - the argument to add

GetArguments

public java.util.List<Argument> GetArguments()
The Contained arguments

Returns:
the arguments

FromXML

public void FromXML(org.w3c.dom.Element element)
             throws java.lang.Exception
Parses the XML subtree provided to populate the instance

Parameters:
element - the XML subtree
Throws:
java.lang.Exception - the parsing could not be performed