org.apache.xml.security.algorithms
Class Algorithm

java.lang.Object
  |
  +--org.apache.xml.security.utils.ElementProxy
        |
        +--org.apache.xml.security.algorithms.Algorithm
Direct Known Subclasses:
EncryptionMethod, MessageDigestAlgorithm, SignatureAlgorithm

public abstract class Algorithm
extends ElementProxy

The Algorithm class which stores the Algorithm URI as a string.


Field Summary
 
Fields inherited from class org.apache.xml.security.utils.ElementProxy
_baseURI, _constructionElement, _doc, _state, MODE_CREATE, MODE_DECRYPT, MODE_ENCRYPT, MODE_PROCESS, MODE_SIGN, MODE_UNKNOWN, MODE_VERIFY
 
Constructor Summary
Algorithm(org.w3c.dom.Document doc, java.lang.String algorithmURI)
           
Algorithm(org.w3c.dom.Element element, java.lang.String BaseURI)
          Constructor Algorithm
 
Method Summary
 java.lang.String getAlgorithmURI()
          Method getAlgorithmURI
protected  void setAlgorithmURI(java.lang.String algorithmURI)
          Sets the algorithm's URI as used in the signature.
 
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addText, addTextElement, createElementForFamily, getBaseLocalName, getBaseNamespace, getBaseURI, getBigIntegerFromChildElement, getBytesFromChildElement, getBytesFromTextChild, getChildElementLocalName, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getTextFromChildElement, getTextFromTextChild, guaranteeThatElementInCorrectSpace, length, setDefaultPrefix, setElement, setXPathNamespaceContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithm

public Algorithm(org.w3c.dom.Document doc,
                 java.lang.String algorithmURI)
Parameters:
doc -
algorithmURI - is the URI of the algorithm as String

Algorithm

public Algorithm(org.w3c.dom.Element element,
                 java.lang.String BaseURI)
          throws XMLSecurityException
Constructor Algorithm

Parameters:
element -
BaseURI -
Throws:
XMLSecurityException
Method Detail

getAlgorithmURI

public java.lang.String getAlgorithmURI()
Method getAlgorithmURI


setAlgorithmURI

protected void setAlgorithmURI(java.lang.String algorithmURI)
Sets the algorithm's URI as used in the signature.

Parameters:
algorithmURI - is the URI of the algorithm as String