*
* @return enumeration of strings with property names
*/
public Enumeration getPropertyNames()
{
final EnumerationUnion eu = new EnumerationUnion();
if( properties != null )
{
eu.add( properties.keys() );
}
if( ancestors != null )
{
final int size = ancestors.size();
for( int i = 0; i < size; i++ )
{
final ScriptingClass clazz = (ScriptingClass)
ancestors.elementAt( i );
eu.add( clazz.getPropertyNames() );
}
}
try
{
final ScriptingClass object = getClassLoader().load( "object" );
eu.add( object.getPropertyNames() );
}
catch( ScriptingClassNotFoundException e )
{
}
return eu;