com.intellij.psi.css.resolve
Class UrlCreator

java.lang.Object
  extended by com.intellij.psi.css.resolve.UrlCreator
All Implemented Interfaces:
ApplicationComponent, BaseComponent

public abstract class UrlCreator
extends java.lang.Object
implements ApplicationComponent


Constructor Summary
protected UrlCreator()
           
 
Method Summary
abstract  java.net.URL createUrl(java.lang.String url, java.lang.String baseUrl)
           
abstract  java.net.URL createUrl(java.lang.String url, XmlDocument doc)
           
 void disposeComponent()
          Component should dispose system resources or perform another cleanup in this method.
 java.lang.String getComponentName()
          Unique name of this component.
static UrlCreator getInstance()
           
 void initComponent()
          Component should do initialization and communication with another components in this method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlCreator

protected UrlCreator()
Method Detail

createUrl

public abstract java.net.URL createUrl(java.lang.String url,
                                       XmlDocument doc)
                                throws java.io.IOException
Throws:
java.io.IOException

createUrl

public abstract java.net.URL createUrl(java.lang.String url,
                                       java.lang.String baseUrl)
                                throws java.io.IOException
Throws:
java.io.IOException

getInstance

public static UrlCreator getInstance()

getComponentName

public java.lang.String getComponentName()
Description copied from interface: BaseComponent
Unique name of this component. If there is another component with the same name or name is null internal assertion will occur.

Specified by:
getComponentName in interface BaseComponent
Returns:
the name of this component

initComponent

public void initComponent()
Description copied from interface: BaseComponent
Component should do initialization and communication with another components in this method.

Specified by:
initComponent in interface BaseComponent

disposeComponent

public void disposeComponent()
Description copied from interface: BaseComponent
Component should dispose system resources or perform another cleanup in this method.

Specified by:
disposeComponent in interface BaseComponent