public class Link extends Element
| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGEML_TAG |
CLASS_ATTR, format, ID_ATTR, STYLE_ATTR| Constructor and Description |
|---|
Link(Element parent,
IDataProvider dataProvider) |
Link(Element parent,
String href,
IDataProvider dataProvider) |
| Modifier and Type | Method and Description |
|---|---|
org.commonmark.node.Node |
asMarkdown()
Return Markdown representation of the element as
Node. |
protected void |
buildAttribute(MessageMLParser parser,
Node item)
Parse a DOM attribute into MessageML element properties.
|
URI |
getUri() |
void |
setUri(URI url) |
void |
validate()
Check the syntax and contents of the element.
|
addChild, areNestedElementsAllowed, asText, buildAll, buildNode, countNonTextNodesInNodeList, findElements, findElements, findElements, getAttribute, getAttributes, getChild, getChildren, getFormat, getMessageMLTag, getParent, getPresentationMLTag, hasExactNumberOfChildren, hasIdAttribute, size, throwInvalidInputExceptionpublic static final String MESSAGEML_TAG
public Link(Element parent, IDataProvider dataProvider) throws InvalidInputException
InvalidInputExceptionpublic Link(Element parent, String href, IDataProvider dataProvider) throws InvalidInputException
InvalidInputExceptionprotected void buildAttribute(MessageMLParser parser, Node item) throws InvalidInputException
ElementInvalidInputExceptionpublic org.commonmark.node.Node asMarkdown()
ElementNode.public void validate()
throws InvalidInputException
ElementInvalidInputExceptionpublic URI getUri()
public void setUri(URI url)
Copyright © 2020 The Symphony Software Foundation. All rights reserved.