IT. Expert System.

Java Standard Edition (SE)

ContentModel


javax.swing.text.html.parser

Class ContentModel

  • All Implemented Interfaces:
    Serializable


    public final class ContentModel
    extends Object
    implements Serializable
    A representation of a content model. A content model is basically a restricted BNF expression. It is restricted in the sense that it must be deterministic. This means that you don't have to represent it as a finite state automaton.

    See Annex H on page 556 of the SGML handbook for more information.

    • Field Detail

      • type

        public int type
        Type. Either '*', '?', '+', ',', '|', '&'.
      • content

        public Object content
        The content. Either an Element or a ContentModel.
      • next

        public ContentModel next
        The next content model (in a ',', '|' or '&' expression).
    • Constructor Detail

      • ContentModel

        public ContentModel()
      • ContentModel

        public ContentModel(Element content)
        Create a content model for an element.
      • ContentModel

        public ContentModel(int type,
                            ContentModel content)
        Create a content model of a particular type.
      • ContentModel

        public ContentModel(int type,
                            Object content,
                            ContentModel next)
        Create a content model of a particular type.
    • Method Detail

      • empty

        public boolean empty()
        Return true if the content model could match an empty input stream.
      • getElements

        public void getElements(Vector<Element> elemVec)
        Update elemVec with the list of elements that are part of the this contentModel.
      • first

        public boolean first(Object token)
        Return true if the token could potentially be the first token in the input stream.
      • first

        public Element first()
        Return the element that must be next.
      • toString

        public String toString()
        Convert to a string.
        Overrides:
        toString in class Object
        Returns:
        a string representation of the object.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 195 / 158852671. Delta: 0.06650 с