1 11 package org.eclipse.core.internal.registry.spi; 12 13 import org.eclipse.core.runtime.IConfigurationElement; 14 15 32 public final class ConfigurationElementDescription { 33 34 38 private String name; 39 40 44 private ConfigurationElementAttribute[] attributes; 45 46 50 private String value; 51 52 56 private ConfigurationElementDescription[] children; 57 58 70 public ConfigurationElementDescription(String name, ConfigurationElementAttribute[] attributes, String value, ConfigurationElementDescription[] children) { 71 this.name = name; 72 this.attributes = attributes; 73 this.value = value; 74 this.children = children; 75 } 76 77 89 public ConfigurationElementDescription(String name, ConfigurationElementAttribute attribute, String value, ConfigurationElementDescription[] children) { 90 this.name = name; 91 this.attributes = new ConfigurationElementAttribute[] {attribute}; 92 this.value = value; 93 this.children = children; 94 } 95 96 101 public ConfigurationElementDescription[] getChildren() { 102 return children; 103 } 104 105 110 public String getName() { 111 return name; 112 } 113 114 119 public ConfigurationElementAttribute[] getAttributes() { 120 return attributes; 121 } 122 123 128 public String getValue() { 129 return value; 130 } 131 } 132 | Popular Tags |