111112113114115116117118119120121
public Object createDynamicElement(String name) { if (LANGUAGE_RANGE.matches(name)) { NestedAttributeElement e = new NestedAttributeElement(new String[] { "lang", "range" }, LANGUAGE_RANGE, task); nestedAttribs.add(e); return e; } else {
123124125126127128129130131
} } public NestedAttributeElement createManager() { NestedAttributeElement e = new NestedAttributeElement("class", MANAGERS, task); nestedAttribs.add(e); return e; }
134135136137138139140141142
} } private NestedAttributeElement createElem(String attrib, OptionSpec spec) { NestedAttributeElement e = new NestedAttributeElement(attrib, spec, task); nestedAttribs.add(e); return e; }
141142143144145146147148149
return e; } private NestedAttributeElement createElem(String[] attribs, OptionSpec spec) { NestedAttributeElement e = new NestedAttributeElement(attribs, spec, task); nestedAttribs.add(e); return e; }
122123124125126127128129130
private ClassLoader originalContextClassLoader; protected NestedAttributeElement createElem(String attrib, OptionSpec spec) { NestedAttributeElement e = new NestedAttributeElement(attrib, spec, this); nestedAttribs.add(e); return e; }
129130131132133134135136137
return e; } protected NestedAttributeElement createElem(String[] attribs, OptionSpec spec) { NestedAttributeElement e = new NestedAttributeElement(attribs, spec, this); nestedAttribs.add(e); return e; }
136137138139140141142143144
return e; } protected NestedAttributeElement createElemAllowAppend(String[] attribs, OptionSpec spec) { NestedAttributeElement e = new NestedAttributeElement(attribs, spec, this, true); nestedAttribs.add(e); return e; }