|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.DefaultResourceIdentifierFactory
public class DefaultResourceIdentifierFactory
Generates resource identifiers that contain some of the actual state of the resource.
That is, this does not generate database ID based resource identifiers, but
rather identifiers like PageResourceIdentifier
.
IdAndTypeResourceIdentifier
.
The ConversionContext is used to determine whether or not a relative or absolute attachment container should be returned.
Constructor Summary | |
---|---|
DefaultResourceIdentifierFactory()
|
Method Summary | |
---|---|
ResourceIdentifier |
getResourceIdentifier(java.lang.Object resource,
ConversionContext context)
Creates a resource identifier for the specified resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultResourceIdentifierFactory()
Method Detail |
---|
public ResourceIdentifier getResourceIdentifier(java.lang.Object resource, ConversionContext context) throws ResourceIdentifierCreationException
ResourceIdentifierFactory
getResourceIdentifier
in interface ResourceIdentifierFactory
resource
- the resourcecontext
- The context to generate the resource identifier in
ResourceIdentifierCreationException
- if there is an error creating the resource identifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |