This method of the ElementFactory interface creates an element with the specified tag for the specified type of element.
public abstract Element createElement(Element parent, int type, Name tag, String text);
Returns the created element.
parent | The parent element. |
type | One of the predefined Element types that can be returned from Element.getType. |
tag | The name of the element. |
text | The element text. |