Tag
public class RickrollTag extends HyperlinkTag
A RickrollTag
is a HyperlinkTag
that forces the
type to be "url" and the address to be a URL that shows Rick Astley's "Never
Gonna Give You Up" video.
BaseTag
.RichTextString
ATTR_ON_PROCESSED, SPEC_SEP
ATTR_ADDRESS, ATTR_TYPE, ATTR_VALUE, TYPE_DOC, TYPE_EMAIL, TYPE_FILE, TYPE_URL
Constructor | Description |
---|---|
RickrollTag() |
Modifier and Type | Method | Description |
---|---|---|
void |
checkAttributes() |
Validates the attributes for this
Tag . |
java.lang.String |
getName() |
Returns this
Tag's name. |
clearBlock, deleteBlock, getAttributes, getContext, getLocation, getParentTag, getWorkbookContext, isBodiless, processTag, removeBlock, setAttributes, setBodiless, setContext, setParentTag, setWorkbookContext
getOptionalAttributes, getRequiredAttributes, process, validateAttributes
public java.lang.String getName()
Tag's
name.getName
in interface Tag
getName
in class HyperlinkTag
Tag's
name.public void checkAttributes()
Tag
. This tag must be
bodiless.checkAttributes
in class BaseTag
BaseTag.validateAttributes()
Copyright © 2012–2018 Jett Team. All rights reserved.