|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
weblogic.xml.security.transforms.Transform
public abstract class Transform
Represents a transformation to be applied to data before applying a cryptographic operation such as digesting. A Transform consists of an Algorithm attribute and a set of parameters, if any, appropriate for the given algorithm.
| Field Summary | |
|---|---|
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 |
| Method Summary | |
|---|---|
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) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Method Detail |
|---|
public static Transform getTransform(String uri)
throws TransformException
TransformExceptionpublic abstract String getURI()
Transform
public 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 value
public abstract XMLOutputStream getXMLOutputStream()
throws XMLStreamException
XMLStreamException
public final void setDest(Transform dest)
throws IncompatibleTransformException
Transforms to be chained.IncompatibleTransformException
public void toXML(XMLOutputStream xos,
String ns,
int indent)
throws XMLStreamException
XMLStreamException
protected void toXMLInternal(XMLOutputStream xos,
String ns,
int indent)
throws XMLStreamException
XMLStreamException
protected void fromXMLInternal(XMLInputStream xin,
String ns)
throws XMLStreamException
XMLStreamException
public static void main(String[] args)
throws Exception
Exception
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||