OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adfinternal.view.js.data
Class AdfSvgInMemoryCache

Warning:

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adfinternal.view.js.data.AdfSvgInMemoryCache

public class AdfSvgInMemoryCache
extends AdfObject


Field Summary

private Object
_cache
public static Object
NO_CACHE_KEY
private static Object
_SVG_CACHE_KEY

Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass

Fields inherited from org.ecmascript.object.Object

prototype

Constructor Summary

public
AdfSvgInMemoryCache()

Method Summary

public static Object
getInstance(Object type)
public Object
getSvgIcon(Object url)
Returns SVG content from the cache if available, else returns null.
protected Object
Init()
Initializes the instance.
public Object
invalidateSvgIcon(Object url)
public Object
setSvgIcon(Object url, Object data)

Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString

Field Detail


_cache

private Object _cache

NO_CACHE_KEY

public static Object NO_CACHE_KEY

_SVG_CACHE_KEY

private static Object _SVG_CACHE_KEY

Constructor Detail


AdfSvgInMemoryCache

public AdfSvgInMemoryCache()

Method Detail


getInstance

public static Object getInstance(Object type)

Parameters:
type  
Return:
Object

getSvgIcon

public Object getSvgIcon(Object url)

Returns SVG content from the cache if available, else returns null.

Parameters:
url  
Return:
Object

Init

protected Object Init()

Initializes the instance. Subclasses of AdfObject must call their superclass' Init

Return:
Object
Overrides:
AdfObject.Init()

invalidateSvgIcon

public Object invalidateSvgIcon(Object url)

Parameters:
url  
Return:
Object

setSvgIcon

public Object setSvgIcon(Object url,
                         Object data)

Parameters:
url  
data  
Return:
Object

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.