package org.jdom.input.lax; import org.jdom.Element; import org.jdom.Namespace; /** * @author rlear * * Date Apr 9, 2003 */ public class LaxElement extends Element { /** * This will create a new Element * with the supplied (local) name, and define * the {@link Namespace} to be used. * If the provided namespace is null, the element will have * no namespace. * * @param name String name of element. * @param namespace Namespace to put element in. * @throws IllegalNameException if the given name is illegal as an * element name. */ public LaxElement(String name, Namespace namespace) { this.name = name; setNamespace(namespace); } }