|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectfr.paris.telecomParisTech.dbWEB.arcomem.wp5.appliocationAwareHelper.integration.AugmentedDoc
public class AugmentedDoc
Implementation of AugmentedDocument class Interface. It structure information about single Web page
| Constructor Summary | |
|---|---|
AugmentedDoc()
Sole constructor. |
|
| Method Summary | |
|---|---|
Collection<DocumentPart> |
getDocumentParts()
|
Collection<AugmentedLink> |
getLinkScores()
|
Collection<String> |
getTags()
|
String |
getTitle()
|
boolean |
isApplicationTypeDetected()
|
boolean |
isPageTypeDetected()
|
void |
setApplicationTypeDetected()
Sets the ApplicationTypeDetected variable to true, which will Let knows other Projects (Which uses my system) that Application type is detected. |
void |
setDocumentParts(String documentAsHTML)
A method that sets Document Parts. |
void |
setDocumentParts(String document,
String html)
A method that sets Document Parts. |
void |
setDocumentParts(String hosturl,
String username,
double reputation,
String htmlcontent,
String plaintext,
String title,
String DateAsString)
Sets Documents Parts. |
void |
setDocumentParts(String hosturl,
String username,
double reputation,
String htmlcontent,
String plaintext,
String title,
String[] parsedate)
Sets Documents Parts. |
void |
setLinkScores(String url,
double score)
Set link with score |
void |
setLinkScores(String url,
double score,
String anchorText,
LinkType type)
Set link with score. |
void |
setPageTypeDetected()
Sets the PageTypeDetected variable to true, which will Let knows other Projects (Which uses my system) that Application type is detected. |
void |
setPostBody(String post_body)
Sets Blog Post Body. |
void |
setPostDate(String post_date)
Set Blog post creation date. |
void |
setTitle(String title)
Set the Title of the web page. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AugmentedDoc()
| Method Detail |
|---|
public Collection<DocumentPart> getDocumentParts()
getDocumentParts in interface AugmentedDocumentpublic Collection<AugmentedLink> getLinkScores()
getLinkScores in interface AugmentedDocumentpublic Collection<String> getTags()
getTags in interface AugmentedDocumentpublic String getTitle()
getTitle in interface AugmentedDocumentpublic boolean isApplicationTypeDetected()
isApplicationTypeDetected in interface AugmentedDocumentpublic boolean isPageTypeDetected()
isPageTypeDetected in interface AugmentedDocumentpublic void setApplicationTypeDetected()
public void setDocumentParts(String documentAsHTML)
documentAsHTML - Html content of Whole document as a String.
public void setDocumentParts(String document,
String html)
document - Plain Text content of Whole document as a String.html - HTML content of Whole document as a String.
public void setDocumentParts(String hosturl,
String username,
double reputation,
String htmlcontent,
String plaintext,
String title,
String DateAsString)
hosturl - Web site Domain URLusername - Author name of Objectreputation - Author Reputationhtmlcontent - Object message body as HTML contentplaintext - Object message body as plain texttitle - For Now it will be always null. Will add functionality latter.DateAsString - Object creation date
public void setDocumentParts(String hosturl,
String username,
double reputation,
String htmlcontent,
String plaintext,
String title,
String[] parsedate)
hosturl - Web site Domain URLusername - Author name of Objectreputation - Author Reputationhtmlcontent - Object message body as HTML contentplaintext - Object message body as plain texttitle - For Now it will be always null. Will add functionality latter.parsedate - An array that keeps different parts of date.
public void setLinkScores(String url,
double score)
url - URL of the Linkscore - +1 if related link else -1
public void setLinkScores(String url,
double score,
String anchorText,
LinkType type)
url - URL of the Linkscore - +1 if related link else -1anchorText - Anchor text of Linktype - Link type could be one of Forum, Post or Unknownpublic void setPageTypeDetected()
public void setPostBody(String post_body)
post_body - public void setPostDate(String post_date)
post_date - Creation Datepublic void setTitle(String title)
title - title as a String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||