Class XMLCipher.Factory.TransformsImpl
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.transforms.Transforms
-
- org.apache.xml.security.encryption.XMLCipher.Factory.TransformsImpl
-
- All Implemented Interfaces:
Transforms
- Enclosing class:
- XMLCipher.Factory
private class XMLCipher.Factory.TransformsImpl extends Transforms implements Transforms
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.transforms.Transforms
TRANSFORM_BASE64_DECODE, TRANSFORM_C14N_EXCL_OMIT_COMMENTS, TRANSFORM_C14N_EXCL_WITH_COMMENTS, TRANSFORM_C14N_OMIT_COMMENTS, TRANSFORM_C14N_WITH_COMMENTS, TRANSFORM_C14N11_OMIT_COMMENTS, TRANSFORM_C14N11_WITH_COMMENTS, TRANSFORM_ENVELOPED_SIGNATURE, TRANSFORM_XPATH, TRANSFORM_XPATH2FILTER, TRANSFORM_XPOINTER, TRANSFORM_XSLT
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI
-
-
Constructor Summary
Constructors Constructor Description TransformsImpl()Construct TransformsTransformsImpl(org.w3c.dom.Document doc)TransformsImpl(org.w3c.dom.Element element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetBaseNamespace()Returns the namespace of the Elements of the sub-class.TransformsgetDSTransforms()Temporary method to turn the XMLEncryption Transforms class into a DS class.org.w3c.dom.ElementtoElement()-
Methods inherited from class org.apache.xml.security.transforms.Transforms
addTransform, addTransform, addTransform, getBaseLocalName, getLength, item, performTransforms, performTransforms, setSecureValidation
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Constructor Detail
-
TransformsImpl
public TransformsImpl()
Construct Transforms
-
TransformsImpl
public TransformsImpl(org.w3c.dom.Document doc)
- Parameters:
doc-
-
TransformsImpl
public TransformsImpl(org.w3c.dom.Element element) throws XMLSignatureException, InvalidTransformException, XMLSecurityException, TransformationException- Parameters:
element-- Throws:
XMLSignatureExceptionInvalidTransformExceptionXMLSecurityExceptionTransformationException
-
-
Method Detail
-
toElement
public org.w3c.dom.Element toElement()
- Returns:
- the XML Element form of that Transforms
-
getDSTransforms
public Transforms getDSTransforms()
Temporary method to turn the XMLEncryption Transforms class into a DS class. The main LOGic is currently implemented in the DS class, so we need to get to get the base class.Note This will be removed in future versions
- Specified by:
getDSTransformsin interfaceTransforms
-
getBaseNamespace
public java.lang.String getBaseNamespace()
Returns the namespace of the Elements of the sub-class.- Overrides:
getBaseNamespacein classSignatureElementProxy- Returns:
- the namespace of the Elements of the sub-class.
-
-