Author: kiwiwings
Date: Sun Sep 28 00:35:00 2014
New Revision: 1628031

URL: http://svn.apache.org/r1628031
Log:
forgot to rename get/setter

Modified:
    
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
    
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java

Modified: 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
URL: 
http://svn.apache.org/viewvc/poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java?rev=1628031&r1=1628030&r2=1628031&view=diff
==============================================================================
--- 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
 (original)
+++ 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureConfig.java
 Sun Sep 28 00:35:00 2014
@@ -131,7 +131,7 @@ public class SignatureConfig {
      * with certain namespaces, so this EventListener is used to interfere
      * with the marshalling process.
      */
-    EventListener signCreationListener = null;
+    EventListener signatureMarshalListener = null;
 
     /**
      * Map of namespace uris to prefix
@@ -160,12 +160,12 @@ public class SignatureConfig {
         
         if (onlyValidation) return;
 
-        if (signCreationListener == null) {
-            signCreationListener = new SignatureMarshalListener();
+        if (signatureMarshalListener == null) {
+            signatureMarshalListener = new SignatureMarshalListener();
         }
         
-        if (signCreationListener instanceof SignatureConfigurable) {
-            
((SignatureConfigurable)signCreationListener).setSignatureConfig(this);
+        if (signatureMarshalListener instanceof SignatureConfigurable) {
+            
((SignatureConfigurable)signatureMarshalListener).setSignatureConfig(this);
         }
         
         if (tspService != null) {
@@ -408,11 +408,11 @@ public class SignatureConfig {
     public void setXadesIssuerNameNoReverseOrder(boolean 
xadesIssuerNameNoReverseOrder) {
         this.xadesIssuerNameNoReverseOrder = xadesIssuerNameNoReverseOrder;
     }
-    public EventListener getSignCreationListener() {
-        return signCreationListener;
+    public EventListener getSignatureMarshalListener() {
+        return signatureMarshalListener;
     }
-    public void setSignCreationListener(EventListener signCreationListener) {
-        this.signCreationListener = signCreationListener;
+    public void setSignatureMarshalListener(EventListener 
signatureMarshalListener) {
+        this.signatureMarshalListener = signatureMarshalListener;
     }
     public Map<String, String> getNamespacePrefixes() {
         return namespacePrefixes;

Modified: 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
URL: 
http://svn.apache.org/viewvc/poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java?rev=1628031&r1=1628030&r2=1628031&view=diff
==============================================================================
--- 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
 (original)
+++ 
poi/branches/xml_signature/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
 Sun Sep 28 00:35:00 2014
@@ -378,7 +378,7 @@ public class SignatureInfo implements Si
         // it's necessary to explicitly set the mdssi namespace, but the 
sign() method has no
         // normal way to interfere with, so we need to add the namespace under 
the hand ...
         EventTarget target = (EventTarget)document;
-        EventListener creationListener = 
signatureConfig.getSignCreationListener();
+        EventListener creationListener = 
signatureConfig.getSignatureMarshalListener();
         if (creationListener != null) {
             if (creationListener instanceof SignatureMarshalListener) {
                 
((SignatureMarshalListener)creationListener).setEventTarget(target);



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to