Keine Cache-Version

Caching deaktiviert Standardeinstellung für diese Seite:aktiviert (code LNG204)
Wenn die Anzeige zu langsam ist, können Sie den Benutzermodus deaktivieren, um die zwischengespeicherte Version anzuzeigen.
javax.swing.text.html

Class HTML.Tag

  • Direct Known Subclasses:
    HTML.UnknownTag
    Enclosing class:
    HTML

    public static class HTML.Tag
    extends Object
    Typesafe enumeration for an HTML tag. Although the set of HTML tags is a closed set, we have left the set open so that people can add their own tag types to their custom parser and still communicate to the reader.
    • Field Detail

      • ADDRESS

        public static final HTML.Tag ADDRESS
      • APPLET

        public static final HTML.Tag APPLET
      • AREA

        public static final HTML.Tag AREA
      • BASE

        public static final HTML.Tag BASE
      • BASEFONT

        public static final HTML.Tag BASEFONT
      • BLOCKQUOTE

        public static final HTML.Tag BLOCKQUOTE
      • BODY

        public static final HTML.Tag BODY
      • CAPTION

        public static final HTML.Tag CAPTION
      • CENTER

        public static final HTML.Tag CENTER
      • CITE

        public static final HTML.Tag CITE
      • CODE

        public static final HTML.Tag CODE
      • FONT

        public static final HTML.Tag FONT
      • FORM

        public static final HTML.Tag FORM
      • FRAME

        public static final HTML.Tag FRAME
      • FRAMESET

        public static final HTML.Tag FRAMESET
      • HEAD

        public static final HTML.Tag HEAD
      • HTML

        public static final HTML.Tag HTML
      • INPUT

        public static final HTML.Tag INPUT
      • ISINDEX

        public static final HTML.Tag ISINDEX
      • public static final HTML.Tag LINK
      • public static final HTML.Tag MENU
      • META

        public static final HTML.Tag META
      • NOFRAMES

        public static final HTML.Tag NOFRAMES
      • OBJECT

        public static final HTML.Tag OBJECT
      • OPTION

        public static final HTML.Tag OPTION
      • PARAM

        public static final HTML.Tag PARAM
      • SAMP

        public static final HTML.Tag SAMP
      • SCRIPT

        public static final HTML.Tag SCRIPT
      • SELECT

        public static final HTML.Tag SELECT
      • SMALL

        public static final HTML.Tag SMALL
      • SPAN

        public static final HTML.Tag SPAN
      • STRIKE

        public static final HTML.Tag STRIKE
      • STRONG

        public static final HTML.Tag STRONG
      • STYLE

        public static final HTML.Tag STYLE
      • TABLE

        public static final HTML.Tag TABLE
      • TEXTAREA

        public static final HTML.Tag TEXTAREA
      • TITLE

        public static final HTML.Tag TITLE
      • IMPLIED

        public static final HTML.Tag IMPLIED
        All text content must be in a paragraph element. If a paragraph didn't exist when content was encountered, a paragraph is manufactured.

        This is a tag synthesized by the HTML reader. Since elements are identified by their tag type, we create a some fake tag types to mark the elements that were manufactured.

      • CONTENT

        public static final HTML.Tag CONTENT
        All text content is labeled with this tag.

        This is a tag synthesized by the HTML reader. Since elements are identified by their tag type, we create a some fake tag types to mark the elements that were manufactured.

      • COMMENT

        public static final HTML.Tag COMMENT
        All comments are labeled with this tag.

        This is a tag synthesized by the HTML reader. Since elements are identified by their tag type, we create a some fake tag types to mark the elements that were manufactured.

    • Constructor Detail

      • HTML.Tag

        public HTML.Tag()
        Since:
        1.3
      • HTML.Tag

        protected HTML.Tag(String id)
        Creates a new Tag with the specified id, and with causesBreak and isBlock set to false.
        Parameters:
        id - the id of the new tag
      • HTML.Tag

        protected HTML.Tag(String id,
                boolean causesBreak,
                boolean isBlock)
        Creates a new Tag with the specified id; causesBreak and isBlock are defined by the user.
        Parameters:
        id - the id of the new tag
        causesBreak - true if this tag causes a break to the flow of data
        isBlock - true if the tag is used to add structure to a document
    • Method Detail

      • isBlock

        public boolean isBlock()
        Returns true if this tag is a block tag, which is a tag used to add structure to a document.
        Returns:
        true if this tag is a block tag, otherwise returns false
      • breaksFlow

        public boolean breaksFlow()
        Returns true if this tag causes a line break to the flow of data, otherwise returns false.
        Returns:
        true if this tag causes a line break to the flow of data, otherwise returns false
      • isPreformatted

        public boolean isPreformatted()
        Returns true if this tag is pre-formatted, which is true if the tag is either PRE or TEXTAREA.
        Returns:
        true if this tag is pre-formatted, otherwise returns false
      • toString

        public String toString()
        Returns the string representation of the tag.
        Overrides:
        toString in class Object
        Returns:
        the String representation of the tag

Deutsche Übersetzung

Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.

Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.

Vielen Dank im Voraus.

Dokument erstellt 11/06/2005, zuletzt geändert 04/03/2020
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-rf-javax/swing/text/html/html.tag.html

Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.

Referenzen

  1. Zeigen Sie - html-Dokument Sprache des Dokuments:fr Manuel PHP : https://docs.oracle.com

Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor Diese Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.

Inhaltsverzeichnis Haut