public class ExHyperlink extends RecordContainer
_children
Modifier | Constructor and Description |
---|---|
|
ExHyperlink()
Create a new ExHyperlink, with blank fields
|
protected |
ExHyperlink(byte[] source,
int start,
int len)
Set things up, and find our more interesting children
|
Modifier and Type | Method and Description |
---|---|
String |
_getDetailsA()
Get the link details (field A)
|
String |
_getDetailsB()
Get the link details (field B)
|
ExHyperlinkAtom |
getExHyperlinkAtom()
Returns the ExHyperlinkAtom of this link
|
String |
getLinkTitle()
Returns the hyperlink's user-readable name
|
String |
getLinkURL()
Returns the URL of the link.
|
long |
getRecordType()
We are of type 4055
|
void |
setLinkTitle(String title) |
void |
setLinkURL(String url)
Sets the URL of the link
TODO: Figure out if we should always set both
|
void |
setLinkURL(String url,
int options) |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
addChildAfter, addChildBefore, appendChildRecord, findFirstOfType, getChildRecords, handleParentAwareRecords, isAnAtom, moveChildBefore, moveChildrenAfter, moveChildrenBefore, removeChild, setChildRecord, writeOut
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected ExHyperlink(byte[] source, int start, int len)
public ExHyperlink()
public ExHyperlinkAtom getExHyperlinkAtom()
public String getLinkURL()
public String getLinkTitle()
public void setLinkURL(String url)
public void setLinkURL(String url, int options)
public void setLinkTitle(String title)
public String _getDetailsA()
public String _getDetailsB()
public long getRecordType()
getRecordType
in class Record
public void writeOut(OutputStream out) throws IOException
writeOut
in class Record
IOException
Copyright © 2020. All rights reserved.