1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xml.signature.impl;
18
19 import org.opensaml.xml.XMLObject;
20 import org.opensaml.xml.io.AbstractXMLObjectUnmarshaller;
21 import org.opensaml.xml.io.UnmarshallingException;
22 import org.slf4j.Logger;
23 import org.slf4j.LoggerFactory;
24 import org.w3c.dom.Attr;
25
26
27
28
29 public abstract class AbstractXMLSignatureUnmarshaller extends AbstractXMLObjectUnmarshaller {
30
31
32
33
34 private final Logger log = LoggerFactory.getLogger(AbstractXMLSignatureUnmarshaller.class);
35
36
37
38
39 protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
40 throws UnmarshallingException {
41 log.debug("Ignoring unknown element {}", childXMLObject.getElementQName());
42 }
43
44
45
46
47 protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
48 log.debug("Ignorning unknown attribute {}", attribute.getLocalName());
49 }
50
51
52
53
54 protected void processElementContent(XMLObject xmlObject, String elementContent) {
55 log.debug("Ignoring element content {}", elementContent);
56 }
57 }