コード例 #1
0
 public EmbeddedScriptSource(
     ScriptEntry.Visibility visibility, String source, ScriptName scriptName) {
   this.visibility = visibility;
   this.source = source;
   this.scriptName =
       new ScriptName(
           scriptName.getName(),
           scriptName.getType(),
           scriptName.getRevision(),
           scriptName.getRequestBinding());
 }
コード例 #2
0
 public String guessType() {
   return scriptName.getType();
 }