package uk.ac.bolton.spaws.model.impl;

import uk.ac.bolton.spaws.model.IParadata;

public abstract class Paradata implements IParadata{
	
	private String content;
	private String contextUrl;

	/* (non-Javadoc)
	 * @see uk.ac.bolton.spaws.model.IParadata#getContent()
	 */
	public String getContent() {
		return content;
	}
	
	public void setContent(String content){
		this.content = content;
	}

	/* (non-Javadoc)
	 * @see uk.ac.bolton.spaws.model.IParadata#getContextUrl()
	 */
	public String getContextUrl() {
		return contextUrl;
	}
	
	public void setContextUrl(String contextUrl){
		this.contextUrl = contextUrl;
	}
	
	

}

@@ -292,24 +292,187 @@
 Content() %7B%0A
+%09%09//%0A%09%09// We have to use empty string rather than null,%0A%09%09// as otherwise this causes problems for signing a LR document%0A%09%09//%0A%09%09if (content == null) return %22%22;%0A%09%09%0A
 %09%09return con

Return an empty string instead of null for getContent() as otherwise this messes up bencoding