Class CssAbstractBlockNode

All Implemented Interfaces:
Locatable
Direct Known Subclasses:
CssBlockNode, CssDeclarationBlockNode

public abstract class CssAbstractBlockNode extends CssNodesListNode<CssNode>
An abstract representation of a list of nodes that are enclosed inside braces.

Subclasses have to define a list of classes that are valid children. The list of valid classes can contain the classes itself or superclasses because all instances of the provided classes are accepted as valid. If invalid children are added, an IllegalStateException is thrown.