This method of the ElementFactoryImpl class retrieves a new element for the specified tag and type.
public Element createElement(Element parent, int type, Name tag, String text);
Returns the newly 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. |