Interface Doctype

All Superinterfaces:
org.teavm.jso.JSObject

public interface Doctype extends org.teavm.jso.JSObject
The document's doctype, such as <!DOCTYPE html>.
Since:
1.0.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the name, or null when the doctype has none.
    Returns the quoted string after PUBLIC, or null.
    Returns the quoted string after SYSTEM or after the public id, or null.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • getName

      String getName()
      Returns the name, or null when the doctype has none.
      Returns:
      the name, or null when the doctype has none
    • getPublicId

      String getPublicId()
      Returns the quoted string after PUBLIC, or null.
      Returns:
      the quoted string after PUBLIC, or null
    • getSystemId

      String getSystemId()
      Returns the quoted string after SYSTEM or after the public id, or null.
      Returns:
      the quoted string after SYSTEM or after the public id, or null