org.apache.axiom.c14n
Class CanonicalizerSpi

java.lang.Object
  extended by org.apache.axiom.c14n.CanonicalizerSpi
Direct Known Subclasses:
CanonicalizerBase

public abstract class CanonicalizerSpi
extends Object


Field Summary
protected  boolean reset
           
 
Constructor Summary
CanonicalizerSpi()
           
 
Method Summary
 byte[] engineCanonicalize(byte[] inputBytes)
           
abstract  byte[] engineCanonicalizeSubTree(Node node)
           
abstract  byte[] engineCanonicalizeSubTree(Node node, String inclusiveNamespaces)
           
abstract  boolean engineGetIncludeComments()
          Method engineGetIncludeComments
abstract  String engineGetURI()
          Method engineGetURI()
abstract  void setWriter(OutputStream os)
          Method setWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reset

protected boolean reset
Constructor Detail

CanonicalizerSpi

public CanonicalizerSpi()
Method Detail

engineGetURI

public abstract String engineGetURI()
Method engineGetURI()

Returns:
the URI of the canonicalization method

engineGetIncludeComments

public abstract boolean engineGetIncludeComments()
Method engineGetIncludeComments

Returns:
true if comments are included or false otherwise

setWriter

public abstract void setWriter(OutputStream os)
Method setWriter

Parameters:
os -

engineCanonicalize

public byte[] engineCanonicalize(byte[] inputBytes)
                          throws CanonicalizationException
Throws:
CanonicalizationException

engineCanonicalizeSubTree

public abstract byte[] engineCanonicalizeSubTree(Node node)
                                          throws CanonicalizationException
Throws:
CanonicalizationException

engineCanonicalizeSubTree

public abstract byte[] engineCanonicalizeSubTree(Node node,
                                                 String inclusiveNamespaces)
                                          throws CanonicalizationException
Throws:
CanonicalizationException


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.