Package org.apache.avalon.framework.configuration

Examples of org.apache.avalon.framework.configuration.MutableConfiguration.addChild()


        catch (IllegalStateException ise)  
        {  
            // expected  
        }  
       
        root.addChild( immutableChild );  
       
        // OK, ask to have it back.  
        root.getMutableChild( "immutable-child" ).setAttribute( "attr", "attr" );  
       
        assertEquals( 1, root.getChildren( "immutable-child" ).length );  
View Full Code Here


        catch (IllegalStateException ise)  
        {  
            // expected  
        }  
       
        root.addChild( immutableChild );  
       
        // OK, ask to have it back.  
        root.getMutableChild( "immutable-child" ).setAttribute( "attr", "attr" );  
       
        assertEquals( 1, root.getChildren( "immutable-child" ).length );  
View Full Code Here

        catch (IllegalStateException ise)  
        {  
            // expected  
        }  
       
        root.addChild( immutableChild );  
       
        // OK, ask to have it back.  
        root.getMutableChild( "immutable-child" ).setAttribute( "attr", "attr" );  
       
        assertEquals( 1, root.getChildren( "immutable-child" ).length );  
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.