|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.rendering.internal.renderer.xwiki20.reference.XWiki20ResourceReferenceTypeSerializer
@Component @Named(value="xwiki/2.0") @Singleton public class XWiki20ResourceReferenceTypeSerializer
Serialize a link by outputting the link type (if the link is typed) followed by the link reference (ie "(linktype):(reference)").
| Constructor Summary | |
|---|---|
XWiki20ResourceReferenceTypeSerializer()
|
|
| Method Summary | |
|---|---|
protected boolean |
isSupportedType(ResourceType type)
Indicate if the provided type is supported by this syntax. |
java.lang.String |
serialize(ResourceReference reference)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XWiki20ResourceReferenceTypeSerializer()
| Method Detail |
|---|
public java.lang.String serialize(ResourceReference reference)
serialize in interface ResourceReferenceTypeSerializerResourceReferenceTypeSerializer.serialize(org.xwiki.rendering.listener.reference.ResourceReference)protected boolean isSupportedType(ResourceType type)
type - the type of resource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||