public class UnknownElementType extends Object implements ElementType
Constructor and Description |
---|
UnknownElementType() |
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() |
public boolean isStartTag(String tag)
ElementType
isStartTag
in interface ElementType
tag
- The String to checkpublic boolean isEndTag(String tag)
ElementType
isEndTag
in interface ElementType
tag
- The String to checkpublic Element newInstance()
newInstance
in interface ElementType
public boolean isSelfClosing(String tag)
ElementType
isSelfClosing
in interface ElementType
tag
- The String to checkCopyright © 2008–2018. All rights reserved.