org.jsoup.nodes
Class DocumentType

java.lang.Object
  extended by org.jsoup.nodes.Node
      extended by org.jsoup.nodes.DocumentType
All Implemented Interfaces:
Cloneable

public class DocumentType
extends Node

A <!DOCTPYE> node.


Constructor Summary
DocumentType(String name, String publicId, String systemId, String baseUri)
          Create a new doctype element.
 
Method Summary
 String nodeName()
          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, clone, doClone, equals, hasAttr, hashCode, indent, nextSibling, outerHtml, outerHtml, ownerDocument, parent, previousSibling, remove, removeAttr, removeChild, replaceChild, replaceWith, setBaseUri, setParentNode, setSiblingIndex, siblingIndex, siblingNodes, toString, traverse, unwrap, wrap
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentType

public DocumentType(String name,
                    String publicId,
                    String systemId,
                    String baseUri)
Create a new doctype element.

Parameters:
name - the doctype's name
publicId - the doctype's public ID
systemId - the doctype's system ID
baseUri - the doctype's base URI
Method Detail

nodeName

public String nodeName()
Description copied from class: Node
Get the node name of this node. Use for debugging purposes and not logic switching (for that, use instanceof).

Specified by:
nodeName in class Node
Returns:
node name


Copyright © 2009-2012 Jonathan Hedley. All Rights Reserved.