java.lang.Object
gnu.javax.swing.text.html.parser.support.low.node
- public class node
- extends java.lang.Object
A text level content model node. The only required unary operations
here are "appears" and "optionally appears" ('?').
@author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
|
Field Summary |
int |
kind
The kind of the token to match. |
boolean |
optional
True for node that is optional for the given position. |
|
Constructor Summary |
node(int kind)
Creates the node, indicating that token must match exactluy one time. |
node(int kind,
boolean _optional)
Creates the new node for matching a given kind of the token. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
optional
public boolean optional
- True for node that is optional for the given position.
kind
public int kind
- The kind of the token to match.
node
public node(int kind,
boolean _optional)
- Creates the new node for matching a given kind of the token.
node
public node(int kind)
- Creates the node, indicating that token must match exactluy one time.