Last update: 2011-06-23

org.proteios.core
Class ExtendedProperties

java.lang.Object
  extended by org.proteios.core.ExtendedProperties

public class ExtendedProperties
extends Object

This class is used for reading XML files with information about extended properties. The file should be located at the path returned by Application.getExtendedPropertiesFile.

Version:
2.0
Author:
Nicklas
See Also:
ExtendableData, ExtendedProperty

Constructor Summary
ExtendedProperties()
           
 
Method Summary
static List<String> getClasses()
          Get a list with the name of all classes.
static List<ExtendedProperty> getProperties(String className)
          Get a list of extended properties for the specified class.
static boolean isExtendable(String className)
          Check if extended properties has been defined for the specified class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendedProperties

public ExtendedProperties()
Method Detail

getClasses

public static List<String> getClasses()
Get a list with the name of all classes. The names do not include a package name.

Returns:
A List containing the names of the classes.

isExtendable

public static boolean isExtendable(String className)
Check if extended properties has been defined for the specified class.

Parameters:
className - The name of the class with or without the package name
Returns:
TRUE if the class is extendable, FALSE otherwise

getProperties

public static List<ExtendedProperty> getProperties(String className)
Get a list of extended properties for the specified class.

Parameters:
className - The name of the class with or without the package name
Returns:
A List object containing ExtendedProperty objects, or null if the specified class is not extendable or no extended properties has been defined

Last update: 2011-06-23