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
Deprecated.
since 12.18.0
|
static String |
PN_ELEMENT
Deprecated.
since 12.18.0
|
static String |
PN_HREF
HREF attribute for
HtmlPageItem.Element.LINK page items |
static String |
PN_LOCATION
Deprecated.
since 12.18.0
|
static String |
PN_SRC
SRC attribute for
HtmlPageItem.Element.SCRIPT page items |
Modifier and Type | Method and Description |
---|---|
default Map<String,Object> |
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. |
@Deprecated static final String PN_ELEMENT
@Deprecated static final String PN_LOCATION
@Deprecated 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 © 2022. All rights reserved.