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: f2296969cdc88343365c8fa7d4fdf55c249963c8 $

Field Summary
 
Fields inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
COMPUTE_SCRIPT_BASE_JS, FRAGMENT_EXTENSION, FRAGMENT_SUBDIR, permutationsUtil, PROCESS_METAS_JS, USE_SOURCE_MAPS_PROPERTY
 
Constructor Summary
StandardsModeIFrameLinker()
           
 
Method Summary
protected  String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, String strongName)
           
protected  String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger, com.google.gwt.core.ext.LinkerContext context, String strongName, int numFragments)
           
 
Methods inherited from class com.google.gwt.core.linker.IFrameLinker
getCompilationExtension, getDescription, getHostedFilename, getModuleSuffix, getScriptChunkSeparator, getSelectionScriptTemplate, modifyPrimaryJavaScript
 
Methods inherited from class com.google.gwt.core.ext.linker.impl.SelectionScriptLinker
charsPerChunk, doEmitCompilation, emitSelectionInformation, emitSelectionScript, fillSelectionScriptTemplate, generateDeferredFragment, generatePrimaryFragment, generatePrimaryFragmentString, generateSelectionScript, generateSelectionScript, getDeferredFragmentPrefix, getDeferredFragmentSuffix, getFragmentSubdir, link, link, maybeAddHostedModeFile, maybeOutputPropertyMap, readFileToStringBuffer, replaceAll, splitPrimaryJavaScript, supportsDevModeInJunit, wrapDeferredFragment, wrapPrimaryFragment
 
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
isShardable, 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 String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger,
                                 com.google.gwt.core.ext.LinkerContext context,
                                 String strongName)
                          throws com.google.gwt.core.ext.UnableToCompleteException
Overrides:
getModulePrefix in class com.google.gwt.core.linker.IFrameLinker
Throws:
com.google.gwt.core.ext.UnableToCompleteException

getModulePrefix

protected String getModulePrefix(com.google.gwt.core.ext.TreeLogger logger,
                                 com.google.gwt.core.ext.LinkerContext context,
                                 String strongName,
                                 int numFragments)
                          throws com.google.gwt.core.ext.UnableToCompleteException
Overrides:
getModulePrefix in class com.google.gwt.core.linker.IFrameLinker
Throws:
com.google.gwt.core.ext.UnableToCompleteException


Copyright © 2004–2015 XWiki. All rights reserved.