Package bm.core.tools

Examples of bm.core.tools.EnumerationUnion


     *
     * @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;
View Full Code Here


     *
     * @return enumeration of strings with method names
     */
    public Enumeration getMethodNames()
    {
        final EnumerationUnion eu = new EnumerationUnion();
        if( methods != null )
        {
            eu.add( methods.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.getMethodNames() );
            }
        }
        try
        {
            final ScriptingClass object = getClassLoader().load( "object" );
            eu.add( object.getMethodNames() );
        }
        catch( ScriptingClassNotFoundException e )
        {
        }
        return eu;
View Full Code Here

TOP

Related Classes of bm.core.tools.EnumerationUnion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.