Liking cljdoc? Tell your friends :D

javax.swing.text.html.parser.ContentModel

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.

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.
raw docstring

->content-modelclj

(->content-model)
(->content-model content)
(->content-model type content)
(->content-model type content next)

Constructor.

Create a content model of a particular type.

type - int content - java.lang.Object next - javax.swing.text.html.parser.ContentModel

Constructor.

Create a content model of a particular type.

type - `int`
content - `java.lang.Object`
next - `javax.swing.text.html.parser.ContentModel`
raw docstring

contentclj

(content this)

Instance Field.

The content. Either an Element or a ContentModel.

type: java.lang.Object

Instance Field.

The content. Either an Element or a ContentModel.

type: java.lang.Object
raw docstring

emptyclj

(empty this)

Return true if the content model could match an empty input stream.

returns: boolean

Return true if the content model could
 match an empty input stream.

returns: `boolean`
raw docstring

firstclj

(first this)
(first this token)

Return true if the token could potentially be the first token in the input stream.

token - java.lang.Object

returns: boolean

Return true if the token could potentially be the
 first token in the input stream.

token - `java.lang.Object`

returns: `boolean`
raw docstring

get-elementsclj

(get-elements this elem-vec)

Update elemVec with the list of elements that are part of the this contentModel.

elem-vec - java.util.Vector

Update elemVec with the list of elements that are
 part of the this contentModel.

elem-vec - `java.util.Vector`
raw docstring

nextclj

(next this)

Instance Field.

The next content model (in a ',', '|' or '&' expression).

type: javax.swing.text.html.parser.ContentModel

Instance Field.

The next content model (in a ',', '|' or '&' expression).

type: javax.swing.text.html.parser.ContentModel
raw docstring

to-stringclj

(to-string this)

Convert to a string.

returns: a string representation of the object. - java.lang.String

Convert to a string.

returns: a string representation of the object. - `java.lang.String`
raw docstring

typeclj

(type this)

Instance Field.

Type. Either '*', '?', '+', ',', '|', '&'.

type: int

Instance Field.

Type. Either '*', '?', '+', ',', '|', '&'.

type: int
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close