@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorElementBaseInterface extends AuthorParentNode
Element
represents a tag in an XML document. The element is mapped into the content
by two sentinel characters (the node positions point to them), having the '\0' character code. This is
needed for easily moving the caret between two adjacent elements.NODE_NAME_CDATA, NODE_NAME_COMMENT, NODE_NAME_DOCUMENT, NODE_NAME_PI, NODE_TYPE_CDATA, NODE_TYPE_COMMENT, NODE_TYPE_DOCUMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PI, NODE_TYPE_PSEUDO_DOCTYPE, NODE_TYPE_PSEUDO_ELEMENT, NODE_TYPE_REFERENCE, NODE_TYPE_TEXT
Modifier and Type | Method and Description |
---|---|
AuthorElementBaseInterface |
getBeforeElement()
Deprecated.
This functionality is needed from the CSS style matcher, so it will eventually move there. Will be removed in 17.0 or later.
|
java.lang.String |
getLocalName() |
boolean |
hasPseudoClass(java.lang.String name)
Checks if a pseudo class is set on the element.
|
boolean |
isEmptyCSS3()
Checks if the element is empty (no content, or elements, may have PIs and Comments).
|
boolean |
isFirstChildElement()
Deprecated.
|
void |
removePseudoClass(java.lang.String name)
Removes a pseudo class from the element.
|
void |
setPseudoClass(java.lang.String name)
Sets a pseudo class on the element.
|
getContentNodes, getParentElement
getDisplayName, getEndOffset, getName, getNamespace, getNamespaceContext, getOwnerDocument, getParent, getStartOffset, getTextContent, getType, getXMLBaseURL, isDescendentOf
@Deprecated AuthorElementBaseInterface getBeforeElement()
@Deprecated boolean isFirstChildElement()
java.lang.String getLocalName()
boolean hasPseudoClass(java.lang.String name)
name
- The name of the pseudo class. Let say :hover, :active, etc..true
if the pseudo class is set on the element.void setPseudoClass(java.lang.String name)
name
- The name of the pseudo class. Let say :hover, :active, etc..void removePseudoClass(java.lang.String name)
name
- The name of the pseudo class. Let say :hover, :active, etc..boolean isEmptyCSS3()
© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.