本文整理了Java中org.jdom.DocType.setInternalSubset()
方法的一些代码示例,展示了DocType.setInternalSubset()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DocType.setInternalSubset()
方法的具体详情如下:
包路径:org.jdom.DocType
类名称:DocType
方法名:setInternalSubset
[英]This sets the data for the internal subset.
[中]这将设置内部子集的数据。
代码示例来源:origin: org.jdom/jdom-legacy
/**
* This signifies that the reading of the DTD is complete.
*
* @throws SAXException
*/
public void endDTD() throws SAXException {
document.getDocType().setInternalSubset(internalSubset.toString());
inDTD = false;
inInternalSubset = false;
}
代码示例来源:origin: net.sf.aislib.tools.mapping/library
"<!ENTITY db_part_" + xmlName + " SYSTEM \"./" + DB_PARTS_DIR + "/" + xmlName + ".xml\">\n");
docType.setInternalSubset(entities.toString());
代码示例来源:origin: org.jibx/jibx-extras
public void writeDocType(String name, String sys, String pub, String subset)
throws IOException {
DocType docType;
if(null != pub) {
docType = new DocType(name, pub, sys);
} else if(null != sys) {
docType = new DocType(name, sys);
} else {
docType = new DocType(name);
}
if(null != subset) {
docType.setInternalSubset(subset);
}
this.document.setDocType(docType);
}
代码示例来源:origin: org.jdom/jdom-legacy
docType.setPublicID(publicID);
docType.setSystemID(systemID);
docType.setInternalSubset(internalDTD);
内容来源于网络,如有侵权,请联系作者删除!