XMLCryptoContext interface. It also includes additional
methods that are specific to a DOM-based implementation for registering
and retrieving elements that contain attributes of type ID.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private URIDereferencer | |
| private HashMap | |
| private KeySelector | |
| private HashMap | |
| private HashMap | |
| private HashMap |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Object | get(Object key)
Implements javax. This implementation uses an internal |
| public String | |
| public String | getDefaultNamespacePrefix()
Implements javax. Returns the default namespace prefix. |
| public Element | Returns: theElement with the specified ID attribute value,
or null if none.the value of the ID idValue)Returns the |
| public KeySelector | getKeySelector()
Implements javax. Returns the key selector for finding a key. |
| public String | getNamespacePrefix(String namespaceURI, String defaultPrefix)
Implements javax. This implementation uses an internal |
| public Object | getProperty(String name)
Implements javax. This implementation uses an internal |
| public URIDereferencer | getURIDereferencer()
Implements javax. Returns a |
| public Iterator | Returns: a read-only iterator over the set of mappingsReturns a read-only iterator over the set of Id/Element mappings of
this |
| public Object | put(Object key, Object value)
Implements javax. This implementation uses an internal |
| public String | putNamespacePrefix(String namespaceURI, String prefix)
Implements javax. This implementation uses an internal |
| public void | setBaseURI(String baseURI)
Implements javax. Sets the base URI. |
| public void | setDefaultNamespacePrefix(String defaultPrefix)
Implements javax. Sets the default namespace prefix. |
| public void | setIdAttributeNS(Element
the element element, String the namespace URI of the attribute (specify
namespaceURI, String null if not applicable)the local name of the attribute localName)Registers the element's attribute specified by the namespace URI and local name to be of type ID. The attribute must have a non-empty value. |
| public void | setKeySelector(KeySelector ks)
Implements javax. Sets the key selector for finding a key. |
| public Object | setProperty(String name, Object value)
Implements javax. This implementation uses an internal |
| public void | setURIDereferencer(URIDereferencer dereferencer)
Implements javax. Sets a |
| baseURI | back to summary |
|---|---|
| private String baseURI | |
| defaultPrefix | back to summary |
|---|---|
| private String defaultPrefix | |
| dereferencer | back to summary |
|---|---|
| private URIDereferencer dereferencer | |
| idMap | back to summary |
|---|---|
| private HashMap<String, Element> idMap | |
| ks | back to summary |
|---|---|
| private KeySelector ks | |
| nsMap | back to summary |
|---|---|
| private HashMap<String, String> nsMap | |
| objMap | back to summary |
|---|---|
| private HashMap<Object, Object> objMap | |
| propMap | back to summary |
|---|---|
| private HashMap<String, Object> propMap | |
| DOMCryptoContext | back to summary |
|---|---|
| protected DOMCryptoContext() Default constructor. (For invocation by subclass constructors). | |
| get | back to summary |
|---|---|
| public Object get(Object key) Implements javax. This implementation uses an internal | |
| getBaseURI | back to summary |
|---|---|
| public String getBaseURI() Implements javax. Doc from javax. Returns the base URI. | |
| getDefaultNamespacePrefix | back to summary |
|---|---|
| public String getDefaultNamespacePrefix() Implements javax. Doc from javax. Returns the default namespace prefix. The default namespace prefix
is the prefix for all namespace URIs not explicitly set by the
| |
| getElementById | back to summary |
|---|---|
| public Element getElementById(String idValue) Returns the This implementation uses an internal
| |
| getKeySelector | back to summary |
|---|---|
| public KeySelector getKeySelector() Implements javax. Doc from javax. Returns the key selector for finding a key. | |
| getNamespacePrefix | back to summary |
|---|---|
| public String getNamespacePrefix(String namespaceURI, String defaultPrefix) Implements javax. This implementation uses an internal
| |
| getProperty | back to summary |
|---|---|
| public Object getProperty(String name) Implements javax. This implementation uses an internal
| |
| getURIDereferencer | back to summary |
|---|---|
| public URIDereferencer getURIDereferencer() Implements javax. Doc from javax. Returns a | |
| iterator | back to summary |
|---|---|
| public Iterator Returns a read-only iterator over the set of Id/Element mappings of
this | |
| put | back to summary |
|---|---|
| public Object put(Object key, Object value) Implements javax. This implementation uses an internal
| |
| putNamespacePrefix | back to summary |
|---|---|
| public String putNamespacePrefix(String namespaceURI, String prefix) Implements javax. This implementation uses an internal
| |
| setBaseURI | back to summary |
|---|---|
| public void setBaseURI(String baseURI) Implements javax. Doc from javax. Sets the base URI.
| |
| setDefaultNamespacePrefix | back to summary |
|---|---|
| public void setDefaultNamespacePrefix(String defaultPrefix) Implements javax. Doc from javax. Sets the default namespace prefix. This sets the namespace prefix for
all namespace URIs not explicitly set by the | |
| setIdAttributeNS | back to summary |
|---|---|
| public void setIdAttributeNS(Element element, String namespaceURI, String localName) Registers the element's attribute specified by the namespace URI and local name to be of type ID. The attribute must have a non-empty value. This implementation uses an internal
| |
| setKeySelector | back to summary |
|---|---|
| public void setKeySelector(KeySelector ks) Implements javax. Doc from javax. Sets the key selector for finding a key. | |
| setProperty | back to summary |
|---|---|
| public Object setProperty(String name, Object value) Implements javax. This implementation uses an internal
| |
| setURIDereferencer | back to summary |
|---|---|
| public void setURIDereferencer(URIDereferencer dereferencer) Implements javax. Doc from javax. Sets a | |