public class DocumentType extends LeafNode
<!DOCTYPE>
node.Modifier and Type | Field and Description |
---|---|
private static String |
NAME |
private static String |
PUB_SYS_KEY |
private static String |
PUBLIC_ID |
static String |
PUBLIC_KEY |
private static String |
SYSTEM_ID |
static String |
SYSTEM_KEY |
EmptyString, parentNode, siblingIndex
Constructor and Description |
---|
DocumentType(String name,
String publicId,
String systemId)
Create a new doctype element.
|
DocumentType(String name,
String publicId,
String systemId,
String baseUri)
Deprecated.
|
DocumentType(String name,
String pubSysKey,
String publicId,
String systemId,
String baseUri)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
has(String attribute) |
String |
nodeName()
Get the node name of this node.
|
(package private) void |
outerHtmlHead(Appendable accum,
int depth,
Document.OutputSettings out)
Get the outer HTML of this node.
|
(package private) void |
outerHtmlTail(Appendable accum,
int depth,
Document.OutputSettings out) |
void |
setPubSysKey(String value) |
absUrl, attr, attr, attributes, baseUri, childNodeSize, coreValue, coreValue, doSetBaseUri, ensureChildNodes, hasAttr, hasAttributes, removeAttr
addChildren, addChildren, after, after, before, before, childNode, childNodes, childNodesAsArray, childNodesCopy, clearAttributes, clone, doClone, equals, filter, getOutputSettings, hasParent, hasSameValue, html, indent, nextSibling, nodelistChanged, outerHtml, outerHtml, ownerDocument, parent, parentNode, previousSibling, remove, removeChild, reparentChild, replaceChild, replaceWith, root, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, toString, traverse, unwrap, wrap
public static final String PUBLIC_KEY
public static final String SYSTEM_KEY
private static final String NAME
private static final String PUB_SYS_KEY
private static final String PUBLIC_ID
private static final String SYSTEM_ID
public DocumentType(String name, String publicId, String systemId)
name
- the doctype's namepublicId
- the doctype's public IDsystemId
- the doctype's system IDpublic DocumentType(String name, String publicId, String systemId, String baseUri)
name
- the doctype's namepublicId
- the doctype's public IDsystemId
- the doctype's system IDbaseUri
- unusedpublic void setPubSysKey(String value)
public String nodeName()
Node
void outerHtmlHead(Appendable accum, int depth, Document.OutputSettings out) throws IOException
Node
outerHtmlHead
in class Node
accum
- accumulator to place HTML intoIOException
- if appending to the given accumulator fails.void outerHtmlTail(Appendable accum, int depth, Document.OutputSettings out)
outerHtmlTail
in class Node
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses