1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.xml.schema.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.opensaml.xml.schema.XSBase64Binary;
23 import org.w3c.dom.Attr;
24
25
26
27
28 public class XSBase64BinaryUnmarshaller extends AbstractXMLObjectUnmarshaller {
29
30
31 protected void processChildElement(XMLObject parentXMLObject, XMLObject childXMLObject)
32 throws UnmarshallingException {
33
34 }
35
36
37 protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
38
39 }
40
41
42 protected void processElementContent(XMLObject xmlObject, String elementContent) {
43 XSBase64Binary xsBase64Binary = (XSBase64Binary) xmlObject;
44
45 if (elementContent != null) {
46 xsBase64Binary.setValue(elementContent.trim());
47 }
48 }
49 }