public class Link extends Element
Element.ElementContentType, Element.Property
Modifier and Type | Field and Description |
---|---|
protected String |
m_href |
protected String |
m_hreflang |
protected String |
m_length |
protected String |
m_rel |
protected String |
m_title |
protected String |
m_type |
m_attributes, m_base, m_baseURI, m_children, m_content, m_lang, m_name, m_parent, STRIP_FROM_NORMAL_NAME
Modifier and Type | Method and Description |
---|---|
String |
getHref() |
String |
getHreflang() |
String |
getLength() |
String |
getRel() |
String |
getTitle() |
String |
getType() |
protected void |
printStartTag(PrintWriter out,
int tabs)
Prints the start tag for this element.
|
void |
setContent(String content) |
void |
setHref(String href) |
void |
setHreflang(String hreflang) |
void |
setLength(String length) |
protected void |
setProperties(IContentProvider provider,
Collection<?> keys)
Set the normalized properties of this element.
|
void |
setRel(String rel) |
void |
setTitle(String title) |
void |
setType(String type) |
enforceChildrenConformance, enforceChildrenConformance, enforceConformance, escapeXMLContent, escapeXMLName, firstValue, getAttributes, getBase, getBaseUri, getBaseURI, getChildren, getContent, getLang, getName, getParent, initialize, multipleValues, printAttribute, printChildren, printChildren, printChildren, printContent, printEndTag, printTextualContent, serialize, setAttributes, setBase, setChildren, setLang, setName, setParent, toString
protected String m_href
protected String m_hreflang
protected String m_rel
protected String m_length
protected String m_title
protected String m_type
public Link()
public Link(Object o)
protected void setProperties(IContentProvider provider, Collection<?> keys)
Element
setProperties
in class Element
public void setContent(String content)
setContent
in class Element
protected void printStartTag(PrintWriter out, int tabs)
Element
printStartTag
in class Element
public String getHref()
public void setHref(String href)
public String getHreflang()
public void setHreflang(String hreflang)
public String getLength()
public void setLength(String length)
public String getRel()
public void setRel(String rel)
public String getTitle()
public void setTitle(String title)
public String getType()
public void setType(String type)