|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axiom.c14n.Canonicalizer
public class Canonicalizer
| Field Summary | |
|---|---|
static String |
ALGO_ID_C14N_EXCL_OMIT_COMMENTS
The URL defined in XML-SEC Rec for exclusive org.apache.axiom.c14n.impl without comments. |
static String |
ALGO_ID_C14N_EXCL_WITH_COMMENTS
The URL defined in XML-SEC Rec for exclusive org.apache.axiom.c14n.impl with comments. |
static String |
ALGO_ID_C14N_OMIT_COMMENTS
The URL defined in XML-SEC Rec for inclusive org.apache.axiom.c14n.impl without comments. |
static String |
ALGO_ID_C14N_WITH_COMMENTS
The URL defined in XML-SEC Rec for inclusive org.apache.axiom.c14n.impl with comments. |
protected CanonicalizerSpi |
canonicalizerSpi
|
| Method Summary | |
|---|---|
byte[] |
canonicalize(byte[] inputBytes)
Method canonicalize |
byte[] |
canonicalizeSubtree(OMElement element)
Canonicalizes the subtree rooted by element. |
byte[] |
canonicalizeSubtree(OMElement element,
String inclusiveNamespaces)
Canonicalizes the subtree rooted by element. |
String |
getImplementingCanonicalizerClass()
Method getImplementingCanonicalizerClss |
boolean |
getIncludeComments()
Method engineGetIncludeComments |
static Canonicalizer |
getInstance(String algorithmURI)
Method getInstance |
String |
getURI()
Method engineGetURI() |
static void |
init()
Method init |
void |
notReset()
Set the canonicalizator behaviour to not reset. |
static void |
register(String algorithmURI,
String implementingClass)
Method register |
void |
setWriter(OutputStream os)
Sets the writter where the cannocalization ends. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ALGO_ID_C14N_OMIT_COMMENTS
public static final String ALGO_ID_C14N_WITH_COMMENTS
public static final String ALGO_ID_C14N_EXCL_OMIT_COMMENTS
public static final String ALGO_ID_C14N_EXCL_WITH_COMMENTS
protected CanonicalizerSpi canonicalizerSpi
| Method Detail |
|---|
public static void init()
public static final Canonicalizer getInstance(String algorithmURI)
throws InvalidCanonicalizerException
algorithmURI -
InvalidCanonicalizerException
public static void register(String algorithmURI,
String implementingClass)
throws AlgorithmAlreadyRegisteredException
algorithmURI - implementingClass -
AlgorithmAlreadyRegisteredExceptionpublic final String getURI()
public boolean getIncludeComments()
public byte[] canonicalize(byte[] inputBytes)
throws CanonicalizationException
inputBytes -
CanonicalizationException
public byte[] canonicalizeSubtree(OMElement element)
throws CanonicalizationException
element.
element - The element to canicalize
CanonicalizationException
public byte[] canonicalizeSubtree(OMElement element,
String inclusiveNamespaces)
throws CanonicalizationException
element.
element - inclusiveNamespaces -
CanonicalizationExceptionpublic void setWriter(OutputStream os)
os - public String getImplementingCanonicalizerClass()
CanonicalizerSpi classpublic void notReset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||