@API(type=NOT_EXTENDABLE,
src=PRIVATE)
public abstract class ContextKeyManager
extends java.lang.Object
DITAAccess
methods.Modifier and Type | Method and Description |
---|---|
static ContextKeyManager |
createFromDitaMapUrl(java.net.URL ditaMapUrl)
Creates a key manager that uses the DITA map with the given URL to
resolve the keys.
|
static ContextKeyManager |
createFromKeyDefinitionManager(KeyDefinitionManager keyDefinitionManager)
Creates a key manager that uses an user-provided
KeyDefinitionManager
to resolve the keys. |
static ContextKeyManager |
getDefault()
Returns the default key manager that uses the currently opened DITA map.
|
abstract java.util.LinkedHashSet<EnumerationDefInfo> |
getEnumerationDefs(java.net.URL originatorURL)
Gets all enumeration defs found in the subject scheme mapping starting from the currently opened DITA Map.
|
abstract java.util.LinkedHashMap<java.lang.String,ro.sync.ecss.dita.reference.keyref.KeyInfo> |
getKeys(java.net.URL originatorURL)
Returns the keys in the DITA map determined from context of this key manager.
|
abstract java.util.LinkedHashMap<java.net.URL,java.util.List<java.util.Stack<java.util.Set<java.lang.String>>>> |
getURLKeyScopeContexts(java.net.URL originatorURL)
Gets map of URL and key scope contexts where it appears.
|
public static ContextKeyManager createFromDitaMapUrl(java.net.URL ditaMapUrl)
ditaMapUrl
- The URL of the DITA map.public static ContextKeyManager createFromKeyDefinitionManager(KeyDefinitionManager keyDefinitionManager)
KeyDefinitionManager
to resolve the keys.keyDefinitionManager
- The key definition manager.public static ContextKeyManager getDefault()
public abstract java.util.LinkedHashMap<java.lang.String,ro.sync.ecss.dita.reference.keyref.KeyInfo> getKeys(java.net.URL originatorURL)
originatorURL
- The URL of the document that requests the keys.public abstract java.util.LinkedHashMap<java.net.URL,java.util.List<java.util.Stack<java.util.Set<java.lang.String>>>> getURLKeyScopeContexts(java.net.URL originatorURL)
originatorURL
- The URL of the topic which needs to resolve the enumeration dejs.public abstract java.util.LinkedHashSet<EnumerationDefInfo> getEnumerationDefs(java.net.URL originatorURL)
null
.originatorURL
- The URL of the topic which needs to resolve the enumeration dejs.© Copyright SyncRO Soft SRL 2002 - 2015. All rights reserved.