Class CssPageSelectorNode
java.lang.Object
com.google.common.css.compiler.ast.CssNode
com.google.common.css.compiler.ast.CssNodesListNode<CssValueNode>
com.google.common.css.compiler.ast.CssAtRuleNode
com.google.common.css.compiler.ast.CssPageSelectorNode
- All Implemented Interfaces:
Locatable
A node representing a page selector @-rule that can be used inside an
@page rule.
For example: @bottom-left-corner { ... }
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
CssAtRuleNode.Type -
Field Summary
Fields inherited from class com.google.common.css.compiler.ast.CssNodesListNode
children -
Constructor Summary
ConstructorsConstructorDescriptionCssPageSelectorNode(CssAtRuleNode.Type type, List<CssCommentNode> comments, CssDeclarationBlockNode block) Constructor of a page selector.Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy()getBlock()Subclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode.Methods inherited from class com.google.common.css.compiler.ast.CssAtRuleNode
getName, getParameters, getParametersCount, getType, setParameters, toStringMethods inherited from class com.google.common.css.compiler.ast.CssNodesListNode
addChildToBack, childIterable, getChildAt, getChildIterator, getChildren, getLastChild, getSourceCodeLocation, isEmpty, isEnclosedWithBraces, numChildren, replaceChildAtMethods inherited from class com.google.common.css.compiler.ast.CssNode
ancestors, appendComment, deepCopyNodes, equals, getComments, getParent, getShouldBeFlipped, getVisitController, hasComment, hashCode, inFunArgs, setComments, setShouldBeFlipped, setSourceCodeLocation
-
Constructor Details
-
CssPageSelectorNode
public CssPageSelectorNode(CssAtRuleNode.Type type, List<CssCommentNode> comments, CssDeclarationBlockNode block) Constructor of a page selector. -
CssPageSelectorNode
Copy constructor.
-
-
Method Details
-
deepCopy
-
getBlock
Description copied from class:CssAtRuleNodeSubclasses should overridegetBlockto return a more specific subclass ofCssAbstractBlockNode.- Overrides:
getBlockin classCssAtRuleNode
-