package mentata.ldaphttp.forum; import mentata.ldaphttp.LDAPHttpException; /** * A directory entry that represents a comment in reference to a Lawrence Lessig weblog post. */ public class lessigrep extends rep { /** * Instantiates an empty template for an O'Reilly weblog reply. */ public lessigrep() throws LDAPHttpException { // set default values for this object setCategory("lessig"); setLabel("Lawrence Lessig weblog reply"); setFeed("http://cyberlaw.stanford.edu/lessig/blog/index.rdf"); } /** * Constructs and returns the substring to match in an RSS item. * * @return the item substring */ public final String getItemSubstring() throws LDAPHttpException { return "shtml#" + super.getItemSubstring(); } }