org.apache.ws.security
Class WSDataRef

java.lang.Object
  extended by org.apache.ws.security.WSDataRef

public class WSDataRef
extends java.lang.Object


Constructor Summary
WSDataRef()
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 java.lang.String getDigestAlgorithm()
           
 javax.xml.namespace.QName getName()
           
 org.w3c.dom.Element getProtectedElement()
           
 java.lang.String getWsuId()
           
 java.lang.String getXpath()
           
 boolean isContent()
           
 void setAlgorithm(java.lang.String algo)
           
 void setContent(boolean content)
           
 void setDigestAlgorithm(java.lang.String digestAlgorithm)
           
 void setName(javax.xml.namespace.QName name)
           
 void setProtectedElement(org.w3c.dom.Element element)
           
 void setWsuId(java.lang.String wsuId)
           
 void setXpath(java.lang.String xpath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDataRef

public WSDataRef()
Method Detail

getWsuId

public java.lang.String getWsuId()
Returns:
Id of the protected element

setWsuId

public void setWsuId(java.lang.String wsuId)
Parameters:
wsuId - Id of the protected element

getName

public javax.xml.namespace.QName getName()
Returns:
QName of the protected element

setName

public void setName(javax.xml.namespace.QName name)
Parameters:
name - QName of the protected element

setProtectedElement

public void setProtectedElement(org.w3c.dom.Element element)
Parameters:
element - The protected DOM element to set

getProtectedElement

public org.w3c.dom.Element getProtectedElement()
Returns:
the protected DOM element

getXpath

public java.lang.String getXpath()
Returns:
the xpath

setXpath

public void setXpath(java.lang.String xpath)
Parameters:
xpath - the xpath to set

isContent

public boolean isContent()
Returns:
the content

setContent

public void setContent(boolean content)
Parameters:
content - the content to set

getAlgorithm

public java.lang.String getAlgorithm()
Returns:
the algorithm used for encryption/signature

setAlgorithm

public void setAlgorithm(java.lang.String algo)
Parameters:
algo - algorithm used for encryption

getDigestAlgorithm

public java.lang.String getDigestAlgorithm()
Returns:
if this reference represents signed content, the digest algorithm applied to the content.

setDigestAlgorithm

public void setDigestAlgorithm(java.lang.String digestAlgorithm)
Parameters:
digestAlgorithm - if this reference represents signed content, the digest algorithm applied to the content.


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.