1 7 8 package org.dom4j.tree; 9 10 import java.util.List ; 11 12 21 public class DefaultDocumentType extends AbstractDocumentType { 22 23 protected String elementName; 24 25 26 private String publicID; 27 28 29 private String systemID; 30 31 32 private List internalDeclarations; 33 34 35 private List externalDeclarations; 36 37 public DefaultDocumentType() { 38 } 39 40 51 public DefaultDocumentType(String elementName, String systemID) { 52 this.elementName = elementName; 53 this.systemID = systemID; 54 } 55 56 69 public DefaultDocumentType(String elementName, String publicID, 70 String systemID) { 71 this.elementName = elementName; 72 this.publicID = publicID; 73 this.systemID = systemID; 74 } 75 76 public String getElementName() { 77 return elementName; 78 } 79 80 public void setElementName(String elementName) { 81 this.elementName = elementName; 82 } 83 84 89 public String getPublicID() { 90 return publicID; 91 } 92 93 99 public void setPublicID(String publicID) { 100 this.publicID = publicID; 101 } 102 103 108 public String getSystemID() { 109 return systemID; 110 } 111 112 118 public void setSystemID(String systemID) { 119 this.systemID = systemID; 120 } 121 122 public List getInternalDeclarations() { 123 return internalDeclarations; 124 } 125 126 public void setInternalDeclarations(List internalDeclarations) { 127 this.internalDeclarations = internalDeclarations; 128 } 129 130 public List getExternalDeclarations() { 131 return externalDeclarations; 132 } 133 134 public void setExternalDeclarations(List externalDeclarations) { 135 this.externalDeclarations = externalDeclarations; 136 } 137 } 138 139 175 | Popular Tags |