1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.opensaml.ws.wsfed.impl;
18
19 import org.opensaml.ws.wsfed.AppliesTo;
20 import org.opensaml.ws.wsfed.EndPointReference;
21 import org.opensaml.xml.XMLObject;
22 import org.opensaml.xml.io.AbstractXMLObjectUnmarshaller;
23 import org.w3c.dom.Attr;
24
25
26 public class AppliesToUnmarshaller extends AbstractXMLObjectUnmarshaller {
27
28
29 protected void processChildElement(XMLObject parentFedObject, XMLObject childFedObject) {
30
31 AppliesTo appliesTo = (AppliesTo) parentFedObject;
32
33 if (childFedObject instanceof EndPointReference) {
34 appliesTo.setEndPointReference((EndPointReference) childFedObject);
35 }
36 }
37
38
39 protected void processAttribute(XMLObject fedObject, Attr attribute) {
40
41 }
42
43
44 protected void processElementContent(XMLObject fedObject, String content) {
45
46 }
47 }