public class PageContextNode extends CssContextNode
CssContextNode
implementation for page contexts.
Constructor and Description |
---|
PageContextNode()
Creates a new PageContextNode instance.
|
PageContextNode(INode parentNode)
Creates a new PageContextNode instance.
|
Modifier and Type | Method and Description |
---|---|
PageContextNode |
addPageClass(String pageClass)
Adds a page class.
|
List<String> |
getPageClasses()
Gets the list of page classes.
|
String |
getPageTypeName()
Gets the page type name.
|
PageContextNode |
setPageTypeName(String pageTypeName)
Sets the page type name.
|
addChild, childNodes, getStyles, parentNode, setStyles
public PageContextNode()
PageContextNode
instance.
public PageContextNode(INode parentNode)
PageContextNode
instance.
parentNode
- the parent node
public PageContextNode addPageClass(String pageClass)
pageClass
- the page class
public String getPageTypeName()
public PageContextNode setPageTypeName(String pageTypeName)
pageTypeName
- the page type name
Copyright © 1998–2022 iText Group NV. All rights reserved.