API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text.html.parser. ContentModel View Source
Author(s)
Arthur van Hoff
Since
Version
1.12,11/17/05
Serial
Hierarchy
 Object
      ContentModel
Implements
 Serializable
Subclasses
Description
publicfinal class ContentModel
  A representation of a content model.
See also:   
Constructors
public ContentModel ()
public ContentModel (Element content)
Create a content model for an element.
public ContentModel (int type, ContentModel content)
Create a content model of a particular type.
public ContentModel (int type, Object content, ContentModel next)
Create a content model of a particular type.
Methods
Hide/Show inherited methods
public boolean empty ()
Return true if the content model could match an empty input stream.
public Element first ()
Return the element that must be next.
public boolean first (Object token)
Return true if the token could potentially be the first token in the input stream.
public void getElements (Vector<Element> elemVec)
Update elemVec with the list of elements that are part of the this contentModel.
public String toString ()
Convert to a string.
Fields
Hide/Show inherited fields
public Object content
  The content.
public ContentModel next
The next content model (in a ',', '|' or '&' expression).
public int type
  Type.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar