electric.soap.security.signature.xml
Class ElementReference
java.lang.Object
electric.soap.security.signature.xml.ElementReference
- public class ElementReference
- extends java.lang.Object
ElementReference. In XML-Signature and WS-Security,
it's common for the user to specify an element using an XPath
that is later referenced from within the SOAPMessage using an
ID. This class is used to translate between the two
representations.
- Author:
- webMethods
Method Summary |
java.lang.String |
getNamespace(java.lang.String prefix)
|
java.util.Enumeration |
getNamespaces()
Return the current set of namespace prefixes. |
java.lang.String |
getPath()
|
void |
setNamespace(java.lang.String prefix,
java.lang.String namespace)
Add a new namespace mapping. |
void |
setPath(java.lang.String path)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElementReference
public ElementReference(java.lang.String path)
- Parameters:
path
-
ElementReference
public ElementReference(ElementReference reference)
- Parameters:
reference
-
getPath
public java.lang.String getPath()
- Returns:
- the path.
setPath
public void setPath(java.lang.String path)
- Parameters:
path
-
getNamespaces
public java.util.Enumeration getNamespaces()
- Return the current set of namespace prefixes.
- Returns:
- namespace prefixes.
getNamespace
public java.lang.String getNamespace(java.lang.String prefix)
- Parameters:
prefix
-
- Returns:
- namespace corresponding to the prefix.
setNamespace
public void setNamespace(java.lang.String prefix,
java.lang.String namespace)
- Add a new namespace mapping.
- Parameters:
prefix
- namespace
-
copyright© 2001-2004 by webMethods All Rights Reserved.