Source Code Cross Referenced for SecurityTokenReferenceType.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » ws » security » secext10 » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules com.sun » xws security » com.sun.xml.ws.security.secext10 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * The contents of this file are subject to the terms
003:         * of the Common Development and Distribution License
004:         * (the License).  You may not use this file except in
005:         * compliance with the License.
006:         *
007:         * You can obtain a copy of the license at
008:         * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009:         * See the License for the specific language governing
010:         * permissions and limitations under the License.
011:         *
012:         * When distributing Covered Code, include this CDDL
013:         * Header Notice in each file and include the License file
014:         * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015:         * If applicable, add the following below the CDDL Header,
016:         * with the fields enclosed by brackets [] replaced by
017:         * you own identifying information:
018:         * "Portions Copyrighted [year] [name of copyright owner]"
019:         *
020:         * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021:         */
022:
023:        //
024:        // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
025:        // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
026:        // Any modifications to this file will be lost upon recompilation of the source schema. 
027:        // Generated on: 2006.08.10 at 02:34:36 PM IST 
028:        //
029:
030:        package com.sun.xml.ws.security.secext10;
031:
032:        import java.util.ArrayList;
033:        import java.util.HashMap;
034:        import java.util.List;
035:        import java.util.Map;
036:        import javax.xml.bind.annotation.XmlAccessType;
037:        import javax.xml.bind.annotation.XmlAccessorType;
038:        import javax.xml.bind.annotation.XmlAnyAttribute;
039:        import javax.xml.bind.annotation.XmlAnyElement;
040:        import javax.xml.bind.annotation.XmlAttribute;
041:        import javax.xml.bind.annotation.XmlID;
042:        import javax.xml.bind.annotation.XmlType;
043:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
044:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
045:        import javax.xml.namespace.QName;
046:
047:        /**
048:         * This type is used reference a security token.
049:         * 
050:         * <p>Java class for SecurityTokenReferenceType complex type.
051:         * 
052:         * <p>The following schema fragment specifies the expected content contained within this class.
053:         * 
054:         * <pre>
055:         * &lt;complexType name="SecurityTokenReferenceType">
056:         *   &lt;complexContent>
057:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
058:         *       &lt;choice maxOccurs="unbounded" minOccurs="0">
059:         *         &lt;any/>
060:         *       &lt;/choice>
061:         *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd}Usage"/>
062:         *       &lt;attribute ref="{http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd}Id"/>
063:         *     &lt;/restriction>
064:         *   &lt;/complexContent>
065:         * &lt;/complexType>
066:         * </pre>
067:         * 
068:         * 
069:         */
070:        @XmlAccessorType(XmlAccessType.FIELD)
071:        @XmlType(name="SecurityTokenReferenceType",propOrder={"any"})
072:        public class SecurityTokenReferenceType {
073:
074:            @XmlAnyElement(lax=true)
075:            protected List<Object> any;
076:            @XmlAttribute(name="Usage",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd")
077:            protected List<String> usage;
078:            @XmlAttribute(name="Id",namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd")
079:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
080:            @XmlID
081:            protected String id;
082:            @XmlAnyAttribute
083:            private Map<QName, String> otherAttributes = new HashMap<QName, String>();
084:
085:            /**
086:             * Gets the value of the any property.
087:             * 
088:             * <p>
089:             * This accessor method returns a reference to the live list,
090:             * not a snapshot. Therefore any modification you make to the
091:             * returned list will be present inside the JAXB object.
092:             * This is why there is not a <CODE>set</CODE> method for the any property.
093:             * 
094:             * <p>
095:             * For example, to add a new item, do as follows:
096:             * <pre>
097:             *    getAny().add(newItem);
098:             * </pre>
099:             * 
100:             * 
101:             * <p>
102:             * Objects of the following type(s) are allowed in the list
103:             * {@link Element }
104:             * {@link Object }
105:             * 
106:             * 
107:             */
108:            public List<Object> getAny() {
109:                if (any == null) {
110:                    any = new ArrayList<Object>();
111:                }
112:                return this .any;
113:            }
114:
115:            /**
116:             * Gets the value of the usage property.
117:             * 
118:             * <p>
119:             * This accessor method returns a reference to the live list,
120:             * not a snapshot. Therefore any modification you make to the
121:             * returned list will be present inside the JAXB object.
122:             * This is why there is not a <CODE>set</CODE> method for the usage property.
123:             * 
124:             * <p>
125:             * For example, to add a new item, do as follows:
126:             * <pre>
127:             *    getUsage().add(newItem);
128:             * </pre>
129:             * 
130:             * 
131:             * <p>
132:             * Objects of the following type(s) are allowed in the list
133:             * {@link String }
134:             * 
135:             * 
136:             */
137:            public List<String> getUsage() {
138:                if (usage == null) {
139:                    usage = new ArrayList<String>();
140:                }
141:                return this .usage;
142:            }
143:
144:            /**
145:             * Gets the value of the id property.
146:             * 
147:             * @return
148:             *     possible object is
149:             *     {@link String }
150:             *     
151:             */
152:            public String getId() {
153:                return id;
154:            }
155:
156:            /**
157:             * Sets the value of the id property.
158:             * 
159:             * @param value
160:             *     allowed object is
161:             *     {@link String }
162:             *     
163:             */
164:            public void setId(String value) {
165:                this .id = value;
166:            }
167:
168:            /**
169:             * Gets a map that contains attributes that aren't bound to any typed property on this class.
170:             * 
171:             * <p>
172:             * the map is keyed by the name of the attribute and 
173:             * the value is the string value of the attribute.
174:             * 
175:             * the map returned by this method is live, and you can add new attribute
176:             * by updating the map directly. Because of this design, there's no setter.
177:             * 
178:             * 
179:             * @return
180:             *     always non-null
181:             */
182:            public Map<QName, String> getOtherAttributes() {
183:                return otherAttributes;
184:            }
185:
186:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.