Package org.jsoup.nodes
Class DocumentType
- java.lang.Object
-
- org.jsoup.nodes.Node
-
- org.jsoup.nodes.DocumentType
-
- All Implemented Interfaces:
java.lang.Cloneable
public class DocumentType extends Node
A<!DOCTYPE>node.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPUBLIC_KEYstatic java.lang.StringSYSTEM_KEY
-
Constructor Summary
Constructors Constructor Description DocumentType(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String baseUri)Create a new doctype element.DocumentType(java.lang.String name, java.lang.String pubSysKey, java.lang.String publicId, java.lang.String systemId, java.lang.String baseUri)Create a new doctype element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringnodeName()Get the node name of this node.-
Methods inherited from class org.jsoup.nodes.Node
absUrl, addChildren, addChildren, after, after, attr, attr, attributes, baseUri, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, childNodeSize, clone, doClone, ensureChildNodes, equals, hasAttr, hasSameValue, html, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeAttr, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, toString, traverse, unwrap, wrap
-
-
-
-
Field Detail
-
PUBLIC_KEY
public static final java.lang.String PUBLIC_KEY
- See Also:
- Constant Field Values
-
SYSTEM_KEY
public static final java.lang.String SYSTEM_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DocumentType
public DocumentType(java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String baseUri)Create a new doctype element.- Parameters:
name- the doctype's namepublicId- the doctype's public IDsystemId- the doctype's system IDbaseUri- the doctype's base URI
-
DocumentType
public DocumentType(java.lang.String name, java.lang.String pubSysKey, java.lang.String publicId, java.lang.String systemId, java.lang.String baseUri)Create a new doctype element.- Parameters:
name- the doctype's namepublicId- the doctype's public IDsystemId- the doctype's system IDbaseUri- the doctype's base URI
-
-