The DocType Class
The org.jdom.DocType class summarized in Example 15.19 represents a document type declaration. Note that this points to and/or contains the document type definition (DTD), but it is not the same thing. JDOM does not have any representation of the DTD.
Example 15.19. The JDOM DocType Class
package org.jdom; public class DocType implements Serializable, Cloneable { protected String elementName; protected String publicID; protected String systemID; protected Document document; protected String internalSubset; protected DocType(); public DocType(String elementName, String publicID, String systemID); public DocType(String elementName, String systemID); public DocType(String elementName); public String getElementName(); public DocType ... |
Get Processing XML with Java™: A Guide to SAX, DOM, JDOM, JAXP, and TrAX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.