org.xwiki.gwt.core.linker
Class StandardsModeIFrameLinker

java.lang.Object
  extended by com.google.gwt.core.ext.Linker
      extended by com.google.gwt.core.ext.linker.AbstractLinker
          extended by com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
              extended by com.google.gwt.core.linker.IFrameLinker
                  extended by org.xwiki.gwt.core.linker.StandardsModeIFrameLinker

@LinkerOrder(value=PRIMARY)
public class StandardsModeIFrameLinker
extends com.google.gwt.core.linker.IFrameLinker

Ensures that the *.cache.html files are loaded in standards mode by adding the document type declaration.

NOTE: This linker was added manly to overcome http://code.google.com/p/google-web-toolkit/issues/detail?id=4567 .

Version:
$Id: StandardsModeIFrameLinker.java 26616 2010-02-02 18:47:31Z mflorea $

Field Summary
 
Fields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
FRAGMENT_EXTENSION, FRAGMENT_SUBDIR
 
Constructor Summary
StandardsModeIFrameLinker()
           
 
Method Summary
protected  java.lang.String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, java.lang.String strongName)
          
protected  java.lang.String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, java.lang.String strongName, int numFragments)
          
 
Methods inherited from class com.google.gwt.core.linker.IFrameLinker
generatePrimaryFragment, getCompilationExtension, getDescription, getFragmentSubdir, getModuleSuffix, getSelectionScriptTemplate, link, modifyPrimaryJavaScript
 
Methods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
doEmitCompilation, emitSelectionScript, generatePropertyProvider, generateScriptInjector, generateSelectionScript, generateStylesheetInjector, getCompilationStrongName, isRelativeURL, replaceAll
 
Methods inherited from class com.google.gwt.core.ext.linker.AbstractLinker
emitBytes, emitBytes, emitInputStream, emitInputStream, emitString, emitString, emitWithStrongName, emitWithStrongName
 
Methods inherited from class com.google.gwt.core.ext.Linker
relink
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardsModeIFrameLinker

public StandardsModeIFrameLinker()
Method Detail

getModulePrefix

protected java.lang.String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger,
                                           com.google.gwt.core.ext.LinkerContext context,
                                           java.lang.String strongName)

Overrides:
getModulePrefix in class com.google.gwt.core.linker.IFrameLinker
See Also:
IFrameLinker.getModulePrefix(TreeLogger, LinkerContext, String)

getModulePrefix

protected java.lang.String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger,
                                           com.google.gwt.core.ext.LinkerContext context,
                                           java.lang.String strongName,
                                           int numFragments)

Overrides:
getModulePrefix in class com.google.gwt.core.linker.IFrameLinker
See Also:
IFrameLinker.getModulePrefix(TreeLogger, LinkerContext, String, int)


Copyright © 2004-2010 XWiki. All Rights Reserved.