1 16 package org.apache.avalon.framework.configuration; 17 18 25 public interface MutableConfiguration extends Configuration 26 { 27 32 public void setValue( final String value ); 33 34 39 public void setValue( final int value ); 40 41 46 public void setValue( final long value ); 47 48 53 public void setValue( final boolean value ); 54 55 60 public void setValue( final float value ); 61 62 68 public void setAttribute( final String name, final String value ); 69 70 76 public void setAttribute( final String name, final int value ); 77 78 84 public void setAttribute( final String name, final long value ); 85 86 92 public void setAttribute( final String name, final boolean value ); 93 94 100 public void setAttribute( final String name, final float value ); 101 102 106 public void addChild( final Configuration configuration ); 107 108 115 public void addAll( final Configuration other ); 116 117 123 public void addAllAttributes( final Configuration other ); 124 125 131 public void addAllChildren( final Configuration other ); 132 133 137 public void removeChild( final Configuration configuration ); 138 139 142 public MutableConfiguration getMutableChild( final String name ) throws ConfigurationException; 143 144 161 public MutableConfiguration getMutableChild( final String name, boolean autoCreate ) throws ConfigurationException; 162 163 168 public MutableConfiguration[] getMutableChildren() throws ConfigurationException; 169 170 175 public MutableConfiguration[] getMutableChildren( final String name ) throws ConfigurationException; 176 } 177 178 | Popular Tags |