public interface HtmlPageItem
| Modifier and Type | Interface and Description |
|---|---|
static class |
HtmlPageItem.Element
enum that defines the possible HTML elements for a page item |
static class |
HtmlPageItem.Location
enum that defines possible insert positions for a page item. |
| Modifier and Type | Field and Description |
|---|---|
static String |
NN_ATTRIBUTES
Sub-node that holds the page item's attributes
|
static String |
PN_ELEMENT
Property name that defines the type of the HTML element rendered by the page item
|
static String |
PN_HREF
HREF attribute for
HtmlPageItem.Element.LINK page items |
static String |
PN_LOCATION
Property that defines the location (header or footer) where the page item should be inserted
|
static String |
PN_SRC
SRC attribute for
HtmlPageItem.Element.SCRIPT page items |
| Modifier and Type | Method and Description |
|---|---|
default Map<String,String> |
getAttributes()
Returns the HTML attributes and values for the page item element.
|
default HtmlPageItem.Element |
getElement()
Returns the
HtmlPageItem.Element type for the page item. |
default HtmlPageItem.Location |
getLocation()
Returns the
HtmlPageItem.Location where the page item should be inserted. |
static final String PN_ELEMENT
static final String PN_LOCATION
static final String NN_ATTRIBUTES
static final String PN_HREF
HtmlPageItem.Element.LINK page itemsstatic final String PN_SRC
HtmlPageItem.Element.SCRIPT page itemsdefault HtmlPageItem.Element getElement()
HtmlPageItem.Element type for the page item.HtmlPageItem.Element typedefault HtmlPageItem.Location getLocation()
HtmlPageItem.Location where the page item should be inserted.HtmlPageItem.Location where item should be insertedCopyright © 2020. All rights reserved.