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.XSString;
23 import org.w3c.dom.Attr;
24
25
26
27
28 public class XSStringUnmarshaller 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 XSString xsiString = (XSString) xmlObject;
44
45 xsiString.setValue(elementContent);
46 }
47 }