public class Link extends SimpleNode
Modifier and Type | Method and Description |
---|---|
String |
getLink() |
String |
getSubject() |
String |
getTarget() |
Object |
jjtAccept(SiDIFVisitor visitor,
ObjectHolder data)
Accept the visitor.
|
void |
setLink(String link) |
void |
setLink(String subject,
String link,
String target)
set a Link with the given subject link and target
|
void |
setSubject(String subject) |
void |
setTarget(String target) |
childrenAccept, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtGetValue, jjtOpen, jjtSetParent, jjtSetValue, toString, toString
public Link(int id)
public Link(SiDIF p, int id)
public String getLink()
public void setLink(String link)
link
- the link to setpublic String getTarget()
public void setTarget(String target)
target
- the target to setpublic String getSubject()
public void setSubject(String subject)
subject
- the subject to setpublic Object jjtAccept(SiDIFVisitor visitor, ObjectHolder data)
jjtAccept
in interface Node
jjtAccept
in class SimpleNode
Copyright © 2017. All Rights Reserved.