public class ContentContext extends Object implements Serializable
Although this class is doesn't enforce any conditions on the context, derived instances may have relationships that need to be maintained between various context values.
Modifier and Type | Field and Description |
---|---|
static ContentContext |
NULL_CONTEXT
An empty context.
|
Constructor and Description |
---|
ContentContext(ContentReader existingContentReader,
String contentUrl)
Construct the instance with the content URL.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentUrl() |
ContentReader |
getExistingContentReader() |
String |
toString() |
public static final ContentContext NULL_CONTEXT
public ContentContext(ContentReader existingContentReader, String contentUrl)
existingContentReader
- content with which to seed the new writer - may be nullcontentUrl
- the content URL - may be nullpublic ContentReader getExistingContentReader()
public String getContentUrl()
Copyright © 2005–2019 Alfresco Software. All rights reserved.