Code example for DocumentType

Methods: getNamegetPublicIdgetSystemId

0
  { 
    if (newChild instanceof StandaloneDocumentType)
      { 
        DocumentType dt = (DocumentType) newChild;
        newChild = ((GnomeDocument) getOwnerDocument())
          .createDocumentType(dt.getName(), dt.getPublicId(),
                              dt.getSystemId());
      } 
    if (newChild == null)
      { 
        throw new GnomeDOMException(DOMException.NOT_FOUND_ERR, null);
      } 
    if (!(newChild instanceof GnomeNode))
      { 
        throw new GnomeDOMException(DOMException.WRONG_DOCUMENT_ERR, null);
      } 
    if (refChild == null || !(refChild instanceof GnomeNode))
      { 
        throw new GnomeDOMException(DOMException.NOT_FOUND_ERR, null);
      } 
Connect your IDE to all the code out there  Get Codota for Java