1 23 24 package org.enhydra.xml.xmlc.metadata; 25 26 import org.w3c.dom.Document ; 27 28 33 public class DocumentSection extends MetaDataElement { 34 37 public static final String TAG_NAME = "document"; 38 39 42 public DocumentSection(Document ownerDoc) { 43 super(ownerDoc, TAG_NAME); 44 } 45 46 49 public ElementDef[] getElementDef() { 50 return (ElementDef[])getChildren(ElementDef.class); 51 } 52 53 56 public void addElementDef(ElementDef elementDef) { 57 appendChild(elementDef); 58 } 59 60 63 public void deleteElementDef(ElementDef elementDef) { 64 removeChild(elementDef); 65 } 66 67 70 public TagClass[] getTagClass() { 71 return (TagClass[])getChildren(TagClass.class); 72 } 73 74 77 public void addTagClass(TagClass tagClass) { 78 appendChild(tagClass); 79 } 80 81 84 public void deleteTagClass(TagClass tagClass) { 85 removeChild(tagClass); 86 } 87 } 88 | Popular Tags |