1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.opensaml.ws.wstrust.impl;
19
20 import org.opensaml.xml.XMLObject;
21 import org.opensaml.xml.io.AbstractXMLObjectMarshaller;
22 import org.opensaml.xml.io.MarshallingException;
23 import org.slf4j.Logger;
24 import org.slf4j.LoggerFactory;
25 import org.w3c.dom.Element;
26
27
28
29
30
31 public abstract class AbstractWSTrustObjectMarshaller extends AbstractXMLObjectMarshaller {
32
33
34 private final Logger log = LoggerFactory.getLogger(AbstractWSTrustObjectMarshaller.class);
35
36
37 protected AbstractWSTrustObjectMarshaller() {
38 super();
39 }
40
41
42 protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
43 log.debug("{} has no more attribute to marshall.", xmlObject.getElementQName().getLocalPart());
44
45 }
46
47
48 protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
49 log.debug("{} has no content to marshall.", xmlObject.getElementQName().getLocalPart());
50 }
51 }