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(java.lang.String dataref)
           
WSDataRef(java.lang.String dataref, java.lang.String wsuId)
           
WSDataRef(java.lang.String dataref, java.lang.String wsuId, javax.xml.namespace.QName name)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 java.lang.String getDataref()
           
 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 setDataref(java.lang.String dataref)
           
 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(java.lang.String dataref)
Parameters:
dataref - reference by which the Encrypted Data was referred

WSDataRef

public WSDataRef(java.lang.String dataref,
                 java.lang.String wsuId)
Parameters:
dataref - reference by which the Encrypted Data was referred
wsuId - Id of the decrypted element (if present)

WSDataRef

public WSDataRef(java.lang.String dataref,
                 java.lang.String wsuId,
                 javax.xml.namespace.QName name)
Parameters:
dataref - reference by which the Encrypted Data was referred
wsuId - Id of the decrypted element (if present)
name - QName of the decrypted element
Method Detail

getDataref

public java.lang.String getDataref()
Returns:
the data reference

setDataref

public void setDataref(java.lang.String dataref)
Parameters:
dataref - reference by which the Encrypted Data was referred

getWsuId

public java.lang.String getWsuId()
Returns:
Id of the decrypted element (if present)

setWsuId

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

getName

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

setName

public void setName(javax.xml.namespace.QName name)
Parameters:
name - QName of the decrypted 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.