| Constructor and Description |
|---|
Image() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlt() |
byte[] |
getData() |
String |
getText()
Provides unformatted text content.
|
int |
getType()
Provides Node's type.
|
String |
getUrl() |
void |
postProcess(DocumentReader reader)
Post processing structure of node.
|
void |
setAlt(String alt) |
void |
setData(byte[] data) |
void |
setUrl(String url) |
String |
toString() |
public int getType()
getType in interface NodeNode.IMAGEpublic String getText()
public void postProcess(DocumentReader reader) throws DocumentException
postProcess in interface Nodereader - document readerDocumentException - if some error occurspublic String getUrl()
public void setUrl(String url)
url - the URL to setpublic String getAlt()
public void setAlt(String alt)
alt - the alternative text to setpublic byte[] getData()
public void setData(byte[] data)
data - the data to setCopyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.