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.
(->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`
(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
(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`
(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`
(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`
(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
(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`
(type this)
Instance Field.
Type. Either '*', '?', '+', ',', '|', '&'.
type: int
Instance Field. Type. Either '*', '?', '+', ',', '|', '&'. type: int
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close