public interface ElementType
Modifier and Type | Method and Description |
---|---|
boolean |
isEndTag(String tag)
Detects a closing tag for this element type.
|
boolean |
isSelfClosing(String tag)
Detects if a tag is self closed or does not require a matching end tag.
|
boolean |
isStartTag(String tag)
Detects an opening tag for this element type.
|
Element |
newInstance() |
boolean isStartTag(String tag)
tag
- The String to checkboolean isSelfClosing(String tag)
tag
- The String to checkboolean isEndTag(String tag)
tag
- The String to checkElement newInstance()
Copyright © 2008–2018. All rights reserved.