1 /** 2 * Licensed to the Apache Software Foundation (ASF) under one 3 * or more contributor license agreements. See the NOTICE file 4 * distributed with this work for additional information 5 * regarding copyright ownership. The ASF licenses this file 6 * to you under the Apache License, Version 2.0 (the 7 * "License"); you may not use this file except in compliance 8 * with the License. You may obtain a copy of the License at 9 * 10 * http://www.apache.org/licenses/LICENSE-2.0 11 * 12 * Unless required by applicable law or agreed to in writing, 13 * software distributed under the License is distributed on an 14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 * KIND, either express or implied. See the License for the 16 * specific language governing permissions and limitations 17 * under the License. 18 */ 19 // 20 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 21 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 22 // Any modifications to this file will be lost upon recompilation of the source schema. 23 // Generated on: 2014.03.27 at 03:31:20 PM GMT 24 // 25 26 27 package org.apache.wss4j.binding.wss10; 28 29 import java.util.ArrayList; 30 import java.util.HashMap; 31 import java.util.List; 32 import java.util.Map; 33 import jakarta.xml.bind.annotation.XmlAccessType; 34 import jakarta.xml.bind.annotation.XmlAccessorType; 35 import jakarta.xml.bind.annotation.XmlAnyAttribute; 36 import jakarta.xml.bind.annotation.XmlAnyElement; 37 import jakarta.xml.bind.annotation.XmlAttribute; 38 import jakarta.xml.bind.annotation.XmlSchemaType; 39 import jakarta.xml.bind.annotation.XmlType; 40 import javax.xml.namespace.QName; 41 import org.w3c.dom.Element; 42 43 44 /** 45 * This type represents a reference to an embedded security token. 46 * 47 * <p>Java class for EmbeddedType complex type. 48 * 49 * <p>The following schema fragment specifies the expected content contained within this class. 50 * 51 * <pre> 52 * <complexType name="EmbeddedType"> 53 * <complexContent> 54 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 55 * <choice maxOccurs="unbounded" minOccurs="0"> 56 * <any processContents='lax'/> 57 * </choice> 58 * <attribute name="ValueType" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> 59 * <anyAttribute processContents='lax' namespace='##other'/> 60 * </restriction> 61 * </complexContent> 62 * </complexType> 63 * </pre> 64 * 65 * 66 */ 67 @XmlAccessorType(XmlAccessType.FIELD) 68 @XmlType(name = "EmbeddedType", propOrder = { 69 "any" 70 }) 71 public class EmbeddedType { 72 73 @XmlAnyElement(lax = true) 74 private List<Object> any; 75 @XmlAttribute(name = "ValueType") 76 @XmlSchemaType(name = "anyURI") 77 private String valueType; 78 @XmlAnyAttribute 79 private Map<QName, String> otherAttributes = new HashMap<>(); 80 81 /** 82 * Gets the value of the any property. 83 * 84 * <p> 85 * This accessor method returns a reference to the live list, 86 * not a snapshot. Therefore any modification you make to the 87 * returned list will be present inside the JAXB object. 88 * This is why there is not a <CODE>set</CODE> method for the any property. 89 * 90 * <p> 91 * For example, to add a new item, do as follows: 92 * <pre> 93 * getAny().add(newItem); 94 * </pre> 95 * 96 * 97 * <p> 98 * Objects of the following type(s) are allowed in the list 99 * {@link Element } 100 * {@link Object } 101 * 102 * 103 */ 104 public List<Object> getAny() { 105 if (any == null) { 106 any = new ArrayList<>(); 107 } 108 return this.any; 109 } 110 111 /** 112 * Gets the value of the valueType property. 113 * 114 * @return 115 * possible object is 116 * {@link String } 117 * 118 */ 119 public String getValueType() { 120 return valueType; 121 } 122 123 /** 124 * Sets the value of the valueType property. 125 * 126 * @param value 127 * allowed object is 128 * {@link String } 129 * 130 */ 131 public void setValueType(String value) { 132 this.valueType = value; 133 } 134 135 /** 136 * Gets a map that contains attributes that aren't bound to any typed property on this class. 137 * 138 * <p> 139 * the map is keyed by the name of the attribute and 140 * the value is the string value of the attribute. 141 * 142 * the map returned by this method is live, and you can add new attribute 143 * by updating the map directly. Because of this design, there's no setter. 144 * 145 * 146 * @return 147 * always non-null 148 */ 149 public Map<QName, String> getOtherAttributes() { 150 return otherAttributes; 151 } 152 153 }