/** * Replaces all elements of the specified tag with the provided element. This method only works on * tags directly under the root tag. * * @param tag The descriptor tag * @param element The element to replace the current elements with */ public final void replaceRootElement(DescriptorTag tag, Element element) { super.replaceElement(tag, element, getRootElement()); }
/** * Adds an element of the specified tag to root of the descriptor. * * @param tag The descriptor tag * @param element The element to add */ public final void addRootElement(DescriptorTag tag, Element element) { super.addElement(tag, element, getRootElement()); }