org.xwiki.rendering.internal.parser.reference
Class PathResourceReferenceTypeParser

java.lang.Object
  extended by org.xwiki.rendering.internal.parser.reference.AbstractURIResourceReferenceTypeParser
      extended by org.xwiki.rendering.internal.parser.reference.PathResourceReferenceTypeParser
All Implemented Interfaces:
ResourceReferenceTypeParser

@Component
@Named(value="path")
@Singleton
public class PathResourceReferenceTypeParser
extends AbstractURIResourceReferenceTypeParser

Parses a resource reference to a relative URL.

Since:
2.5RC1
Version:
$Id$

Constructor Summary
PathResourceReferenceTypeParser()
           
 
Method Summary
 ResourceType getType()
          
 
Methods inherited from class org.xwiki.rendering.internal.parser.reference.AbstractURIResourceReferenceTypeParser
parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathResourceReferenceTypeParser

public PathResourceReferenceTypeParser()
Method Detail

getType

public ResourceType getType()

Returns:
the resource type (document, url, attachment, etc).
See Also:
ResourceReferenceTypeParser.getType()


Copyright © 2004-2011 XWiki. All Rights Reserved.