com.atlassian.confluence.content.render.xhtml.model.resource.identifiers
Class ContextResourceIdentifierConverter
java.lang.Object
com.atlassian.confluence.content.render.xhtml.model.resource.identifiers.ContextResourceIdentifierConverter
Deprecated. since 5.7. Not used, so no replacement.
@Deprecated
public class ContextResourceIdentifierConverter
- extends Object
A Utility class to create a ResourceIdentifier for the supplied ConversionContext.
Note that this implements mapping only for the CEO's that can actually be a conversion entity in Confluence -
- Page
- BlogPost
- Comment
- Draft
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextResourceIdentifierConverter
public ContextResourceIdentifierConverter()
- Deprecated.
convert
public static ResourceIdentifier convert(ConversionContext context)
throws IllegalStateException
- Deprecated.
- Parameters:
context
- the ConversionContext to be converted to a ResourceIdentifier
- Returns:
- a ResourceIdentifier representing the entity for the Conversion.
- Throws:
IllegalStateException
- if the entity object in the ConversionContext is not a supported type.
Copyright © 2003–2015 Atlassian. All rights reserved.