org.xwt
Class Res.Graft

java.lang.Object
  extended byorg.xwt.js.JS
      extended byorg.xwt.Res
          extended byorg.xwt.Res.Graft
Enclosing class:
Res

public static class Res.Graft
extends Res

shadow resource which replaces the graft


Nested Class Summary
 
Nested classes inherited from class org.xwt.Res
Res.Builtin, Res.ByteArray, Res.Cab, Res.CachedRes, Res.File, Res.Graft, Res.HTTP, Res.ProgressWatcher, Res.Ref, Res.Zip
 
Nested classes inherited from class org.xwt.js.JS
JS.Array, JS.Callable, JS.Context, JS.Exn, JS.GlobalScope, JS.Obj, JS.Scope, JS.TailCall
 
Field Summary
 
Fields inherited from class org.xwt.Res
t
 
Method Summary
 java.lang.Object callMethod(java.lang.Object method, JS.Array args, boolean checkOnly)
           
 boolean coerceToBoolean()
           
 java.lang.Number coerceToNumber()
           
 java.lang.String coerceToString()
           
 boolean equals(java.lang.Object o)
           
 java.lang.Object get(java.lang.Object key)
           
 java.lang.String getDescriptiveName()
           
 java.io.InputStream getInputStream(java.lang.String s)
           
 Res getParent()
           
 int hashCode()
           
 java.lang.String typeName()
           
 
Methods inherited from class org.xwt.Res
addExtension, getInputStream, graft, keys, put, stringToRes, writeTo
 
Methods inherited from class org.xwt.js.JS
parse, toBoolean, toDouble, toInt, toLong, toNumber, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getInputStream

public java.io.InputStream getInputStream(java.lang.String s)
                                   throws java.io.IOException
Specified by:
getInputStream in class Res
Throws:
java.io.IOException

get

public java.lang.Object get(java.lang.Object key)
Overrides:
get in class Res

getDescriptiveName

public java.lang.String getDescriptiveName()
Specified by:
getDescriptiveName in class Res

getParent

public Res getParent()
Overrides:
getParent in class Res

callMethod

public java.lang.Object callMethod(java.lang.Object method,
                                   JS.Array args,
                                   boolean checkOnly)
                            throws JS.Exn
Overrides:
callMethod in class Res
Throws:
JS.Exn

coerceToNumber

public java.lang.Number coerceToNumber()
Overrides:
coerceToNumber in class JS

coerceToString

public java.lang.String coerceToString()
Overrides:
coerceToString in class JS

coerceToBoolean

public boolean coerceToBoolean()
Overrides:
coerceToBoolean in class JS

typeName

public java.lang.String typeName()
Overrides:
typeName in class Res