1 7 8 package org.dom4j.util; 9 10 import org.dom4j.Namespace; 11 import org.dom4j.QName; 12 import org.dom4j.tree.BaseElement; 13 14 23 public class NonLazyElement extends BaseElement { 24 public NonLazyElement(String name) { 25 super(name); 26 this.attributes = createAttributeList(); 27 this.content = createContentList(); 28 } 29 30 public NonLazyElement(QName qname) { 31 super(qname); 32 this.attributes = createAttributeList(); 33 this.content = createContentList(); 34 } 35 36 public NonLazyElement(String name, Namespace namespace) { 37 super(name, namespace); 38 this.attributes = createAttributeList(); 39 this.content = createContentList(); 40 } 41 42 public NonLazyElement(QName qname, int attributeCount) { 43 super(qname); 44 this.attributes = createAttributeList(attributeCount); 45 this.content = createContentList(); 46 } 47 } 48 49 85 | Popular Tags |