public abstract class Transform extends Object implements DSIGConstants
Transform consists of an Algorithm attribute
  and a set of parameters, if any, appropriate for the given algorithm.| Modifier and Type | Field and Description | 
|---|---|
static String | 
ENVELOPED  | 
static String | 
W3C_C14N  | 
static String | 
W3C_C14N_WC  | 
static String | 
W3C_EXC_C14N  | 
static String | 
W3C_EXC_C14N_WC  | 
protected static XMLOutputStreamFactory | 
xfactory  | 
static String | 
XPATH  | 
ATTR_ALGORITHM, ATTR_ID, ATTR_PREFIX_LIST, ATTR_URI, ATTR_XMLNS, DSIG_PREFIX, DSIG_URI, DSIG_URI2, EXC_C14N_DEFAULT_PREFIX, TAG_C14N_METHOD, TAG_DIGEST_METHOD, TAG_DIGEST_VALUE, TAG_DSA_G, TAG_DSA_KEY_VALUE, TAG_DSA_P, TAG_DSA_Q, TAG_DSA_Y, TAG_HMAC_OUTPUT_LENGTH, TAG_INCLUSIVE_NAMESPACES, TAG_KEY_INFO, TAG_KEY_NAME, TAG_KEY_VALUE, TAG_OBJECT, TAG_REFERENCE, TAG_RSA_EXPONENT, TAG_RSA_KEY_VALUE, TAG_RSA_MODULUS, TAG_SIGNATURE, TAG_SIGNATURE_METHOD, TAG_SIGNATURE_VALUE, TAG_SIGNED_INFO, TAG_TRANSFORM, TAG_TRANSFORMS, TAG_X509_CERTIFICATE, TAG_X509_DATA, TAG_X509_ISSUER_NAME, TAG_X509_ISSUER_SERIAL, TAG_X509_SERIAL_NUMBER, TAG_X509_SUBJECT_NAME, TAG_XPATH, TC_C14N_METHOD, TC_DIGEST_METHOD, TC_DSA_KEY_VALUE, TC_KEY_INFO, TC_KEY_VALUE, TC_REFERENCE, TC_RSA_KEY_VALUE, TC_SIGNATURE, TC_SIGNATURE_METHOD, TC_SIGNED_INFO, TC_TRANSFORMS, TC_X509_DATA, VERBOSE, VERBOSE_PROPERTY, VERBOSE_PROPERTY_ALT| Modifier and Type | Method and Description | 
|---|---|
protected void | 
fromXMLInternal(XMLInputStream xin,
               String ns)  | 
static Transform | 
getTransform(String uri)  | 
abstract String | 
getURI()  | 
abstract XMLOutputStream | 
getXMLOutputStream()  | 
static void | 
main(String[] args)  | 
void | 
setDest(Transform dest)
Allows  
Transforms to be chained. | 
abstract void | 
setNamespaces(Map namespaceMap)
setNamespaces allows the caller to pass in a set of
 namespaces in the scope of but not declared in the node/data
 being transformed. | 
void | 
setParameter(String name,
            String value)
Sets a parameter for the  
Transform. | 
void | 
toXML(XMLOutputStream xos,
     String ns,
     int indent)  | 
protected void | 
toXMLInternal(XMLOutputStream xos,
             String ns,
             int indent)  | 
protected static final XMLOutputStreamFactory xfactory
public static final String XPATH
public static final String W3C_C14N
public static final String W3C_C14N_WC
public static final String W3C_EXC_C14N
public static final String W3C_EXC_C14N_WC
public static final String ENVELOPED
public static Transform getTransform(String uri) throws TransformException
TransformExceptionpublic abstract String getURI()
Transformpublic void setParameter(String name, String value) throws TransformException
Transform.  For example, this may
  be used to set the XPath expression for an XPath TransformTransformExceptionpublic abstract void setNamespaces(Map namespaceMap)
setNamespaces allows the caller to pass in a set of
 namespaces in the scope of but not declared in the node/data
 being transformed.  This allows the c14n algorith to fill in the
 missing pieces.namespaceMap - a Map valuepublic abstract XMLOutputStream getXMLOutputStream() throws XMLStreamException
XMLStreamExceptionpublic final void setDest(Transform dest) throws IncompatibleTransformException
Transforms to be chained.IncompatibleTransformExceptionpublic void toXML(XMLOutputStream xos, String ns, int indent) throws XMLStreamException
XMLStreamExceptionprotected void toXMLInternal(XMLOutputStream xos, String ns, int indent) throws XMLStreamException
XMLStreamExceptionprotected void fromXMLInternal(XMLInputStream xin, String ns) throws XMLStreamException
XMLStreamException