package org.jdom.input.lax; import org.jdom.Attribute; import org.jdom.Namespace; /** * @author rlear * * Date Apr 9, 2003 */ public class LaxAttribute extends Attribute { /** * disable. * Constructor for LaxAttribute. */ private LaxAttribute() {} /** * Constructor for LaxAttribute. * @param name * @param value * @param namespace */ public LaxAttribute(String name, String value, Namespace namespace) { this.name = name; this.value = value; setNamespace(namespace); } /** * Constructor for LaxAttribute. * @param name * @param value * @param type * @param namespace */ public LaxAttribute(String name, String value, int type, Namespace namespace) { this.name = name; this.value = value; setAttributeType(type); setNamespace(namespace); } /** * Constructor for LaxAttribute. * @param name * @param value */ public LaxAttribute(String name, String value) { this.name = name; this.value = value; } /** * Constructor for LaxAttribute. * @param name * @param value * @param type */ public LaxAttribute(String name, String value, int type) { this.name = name; this.value = value; setAttributeType(type); } }