Source Code Cross Referenced for ReferenceElement.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » wss » core » 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.wss.core 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $Id: ReferenceElement.java,v 1.3 2006/09/29 12:04:45 kumarjayanti Exp $
003:         */
004:
005:        /*
006:         * The contents of this file are subject to the terms
007:         * of the Common Development and Distribution License
008:         * (the License).  You may not use this file except in
009:         * compliance with the License.
010:         * 
011:         * You can obtain a copy of the license at
012:         * https://glassfish.dev.java.net/public/CDDLv1.0.html.
013:         * See the License for the specific language governing
014:         * permissions and limitations under the License.
015:         * 
016:         * When distributing Covered Code, include this CDDL
017:         * Header Notice in each file and include the License file
018:         * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
019:         * If applicable, add the following below the CDDL Header,
020:         * with the fields enclosed by brackets [] replaced by
021:         * you own identifying information:
022:         * "Portions Copyrighted [year] [name of copyright owner]"
023:         * 
024:         * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
025:         */
026:
027:        package com.sun.xml.wss.core;
028:
029:        import java.util.Iterator;
030:
031:        import javax.xml.soap.Name;
032:        import javax.xml.soap.SOAPElement;
033:        import javax.xml.soap.SOAPException;
034:        import javax.xml.soap.SOAPFactory;
035:
036:        import org.w3c.dom.Attr;
037:        import org.w3c.dom.DOMException;
038:        import org.w3c.dom.Document;
039:        import org.w3c.dom.NamedNodeMap;
040:        import org.w3c.dom.Node;
041:        import org.w3c.dom.NodeList;
042:        import org.w3c.dom.UserDataHandler;
043:        import org.w3c.dom.TypeInfo;
044:
045:        import com.sun.xml.wss.XWSSecurityException;
046:        import com.sun.xml.wss.impl.misc.SOAPElementExtension;
047:
048:        /**
049:         * @author Vishal Mahajan
050:         */
051:        public abstract class ReferenceElement extends SOAPElementExtension
052:                implements  SOAPElement {
053:
054:            protected SOAPElement delegateElement;
055:
056:            protected static SOAPFactory soapFactory;
057:
058:            static {
059:                try {
060:                    soapFactory = SOAPFactory.newInstance();
061:                } catch (SOAPException e) {
062:                }
063:            }
064:
065:            protected void setSOAPElement(SOAPElement delegateElement) {
066:                this .delegateElement = delegateElement;
067:            }
068:
069:            public SOAPElement getAsSoapElement() throws XWSSecurityException {
070:                return delegateElement;
071:            }
072:
073:            // Generated delegate methods
074:            public SOAPElement addAttribute(Name arg0, String arg1)
075:                    throws SOAPException {
076:                return delegateElement.addAttribute(arg0, arg1);
077:            }
078:
079:            public SOAPElement addChildElement(String arg0)
080:                    throws SOAPException {
081:                return delegateElement.addChildElement(arg0);
082:            }
083:
084:            public SOAPElement addChildElement(String arg0, String arg1)
085:                    throws SOAPException {
086:                return delegateElement.addChildElement(arg0, arg1);
087:            }
088:
089:            public SOAPElement addChildElement(String arg0, String arg1,
090:                    String arg2) throws SOAPException {
091:                return delegateElement.addChildElement(arg0, arg1, arg2);
092:            }
093:
094:            public SOAPElement addChildElement(Name arg0) throws SOAPException {
095:                return delegateElement.addChildElement(arg0);
096:            }
097:
098:            public SOAPElement addChildElement(SOAPElement arg0)
099:                    throws SOAPException {
100:                return delegateElement.addChildElement(arg0);
101:            }
102:
103:            public SOAPElement addNamespaceDeclaration(String arg0, String arg1)
104:                    throws SOAPException {
105:                return delegateElement.addNamespaceDeclaration(arg0, arg1);
106:            }
107:
108:            public SOAPElement addTextNode(String arg0) throws SOAPException {
109:                return delegateElement.addTextNode(arg0);
110:            }
111:
112:            public Node appendChild(Node arg0) throws DOMException {
113:                return delegateElement.appendChild(arg0);
114:            }
115:
116:            public Node cloneNode(boolean arg0) {
117:                return delegateElement.cloneNode(arg0);
118:            }
119:
120:            public void detachNode() {
121:                delegateElement.detachNode();
122:            }
123:
124:            public boolean equals(Object obj) {
125:                return delegateElement.equals(obj);
126:            }
127:
128:            public Iterator getAllAttributes() {
129:                return delegateElement.getAllAttributes();
130:            }
131:
132:            public String getAttribute(String arg0) {
133:                return delegateElement.getAttribute(arg0);
134:            }
135:
136:            public Attr getAttributeNode(String arg0) {
137:                return delegateElement.getAttributeNode(arg0);
138:            }
139:
140:            public Attr getAttributeNodeNS(String arg0, String arg1) {
141:                return delegateElement.getAttributeNodeNS(arg0, arg1);
142:            }
143:
144:            public String getAttributeNS(String arg0, String arg1) {
145:                return delegateElement.getAttributeNS(arg0, arg1);
146:            }
147:
148:            public NamedNodeMap getAttributes() {
149:                return delegateElement.getAttributes();
150:            }
151:
152:            public String getAttributeValue(Name arg0) {
153:                return delegateElement.getAttributeValue(arg0);
154:            }
155:
156:            public Iterator getChildElements() {
157:                return delegateElement.getChildElements();
158:            }
159:
160:            public Iterator getChildElements(Name arg0) {
161:                return delegateElement.getChildElements(arg0);
162:            }
163:
164:            public NodeList getChildNodes() {
165:                return delegateElement.getChildNodes();
166:            }
167:
168:            public Name getElementName() {
169:                return delegateElement.getElementName();
170:            }
171:
172:            public NodeList getElementsByTagName(String arg0) {
173:                return delegateElement.getElementsByTagName(arg0);
174:            }
175:
176:            public NodeList getElementsByTagNameNS(String arg0, String arg1) {
177:                return delegateElement.getElementsByTagNameNS(arg0, arg1);
178:            }
179:
180:            public String getEncodingStyle() {
181:                return delegateElement.getEncodingStyle();
182:            }
183:
184:            public Node getFirstChild() {
185:                return delegateElement.getFirstChild();
186:            }
187:
188:            public Node getLastChild() {
189:                return delegateElement.getLastChild();
190:            }
191:
192:            public String getLocalName() {
193:                return delegateElement.getLocalName();
194:            }
195:
196:            public Iterator getNamespacePrefixes() {
197:                return delegateElement.getNamespacePrefixes();
198:            }
199:
200:            public String getNamespaceURI() {
201:                return delegateElement.getNamespaceURI();
202:            }
203:
204:            public String getNamespaceURI(String arg0) {
205:                return delegateElement.getNamespaceURI(arg0);
206:            }
207:
208:            public Node getNextSibling() {
209:                return delegateElement.getNextSibling();
210:            }
211:
212:            public String getNodeName() {
213:                return delegateElement.getNodeName();
214:            }
215:
216:            public short getNodeType() {
217:                return delegateElement.getNodeType();
218:            }
219:
220:            public String getNodeValue() throws DOMException {
221:                return delegateElement.getNodeValue();
222:            }
223:
224:            public Document getOwnerDocument() {
225:                return delegateElement.getOwnerDocument();
226:            }
227:
228:            public SOAPElement getParentElement() {
229:                return delegateElement.getParentElement();
230:            }
231:
232:            public Node getParentNode() {
233:                return delegateElement.getParentNode();
234:            }
235:
236:            public String getPrefix() {
237:                return delegateElement.getPrefix();
238:            }
239:
240:            public Node getPreviousSibling() {
241:                return delegateElement.getPreviousSibling();
242:            }
243:
244:            public String getTagName() {
245:                return delegateElement.getTagName();
246:            }
247:
248:            public String getValue() {
249:                return delegateElement.getValue();
250:            }
251:
252:            public Iterator getVisibleNamespacePrefixes() {
253:                return delegateElement.getVisibleNamespacePrefixes();
254:            }
255:
256:            public boolean hasAttribute(String arg0) {
257:                return delegateElement.hasAttribute(arg0);
258:            }
259:
260:            public boolean hasAttributeNS(String arg0, String arg1) {
261:                return delegateElement.hasAttributeNS(arg0, arg1);
262:            }
263:
264:            public boolean hasAttributes() {
265:                return delegateElement.hasAttributes();
266:            }
267:
268:            public boolean hasChildNodes() {
269:                return delegateElement.hasChildNodes();
270:            }
271:
272:            public int hashCode() {
273:                return delegateElement.hashCode();
274:            }
275:
276:            public Node insertBefore(Node arg0, Node arg1) throws DOMException {
277:                return delegateElement.insertBefore(arg0, arg1);
278:            }
279:
280:            public boolean isSupported(String arg0, String arg1) {
281:                return delegateElement.isSupported(arg0, arg1);
282:            }
283:
284:            public void normalize() {
285:                delegateElement.normalize();
286:            }
287:
288:            public void recycleNode() {
289:                delegateElement.recycleNode();
290:            }
291:
292:            public void removeAttribute(String arg0) throws DOMException {
293:                delegateElement.removeAttribute(arg0);
294:            }
295:
296:            public boolean removeAttribute(Name arg0) {
297:                return delegateElement.removeAttribute(arg0);
298:            }
299:
300:            public Attr removeAttributeNode(Attr arg0) throws DOMException {
301:                return delegateElement.removeAttributeNode(arg0);
302:            }
303:
304:            public void removeAttributeNS(String arg0, String arg1)
305:                    throws DOMException {
306:                delegateElement.removeAttributeNS(arg0, arg1);
307:            }
308:
309:            public Node removeChild(Node arg0) throws DOMException {
310:                return delegateElement.removeChild(arg0);
311:            }
312:
313:            public void removeContents() {
314:                delegateElement.removeContents();
315:            }
316:
317:            public boolean removeNamespaceDeclaration(String arg0) {
318:                return delegateElement.removeNamespaceDeclaration(arg0);
319:            }
320:
321:            public Node replaceChild(Node arg0, Node arg1) throws DOMException {
322:                return delegateElement.replaceChild(arg0, arg1);
323:            }
324:
325:            public void setAttribute(String arg0, String arg1)
326:                    throws DOMException {
327:                delegateElement.setAttribute(arg0, arg1);
328:            }
329:
330:            public Attr setAttributeNode(Attr arg0) throws DOMException {
331:                return delegateElement.setAttributeNode(arg0);
332:            }
333:
334:            public Attr setAttributeNodeNS(Attr arg0) throws DOMException {
335:                return delegateElement.setAttributeNodeNS(arg0);
336:            }
337:
338:            public void setAttributeNS(String arg0, String arg1, String arg2)
339:                    throws DOMException {
340:                delegateElement.setAttributeNS(arg0, arg1, arg2);
341:            }
342:
343:            public void setEncodingStyle(String arg0) throws SOAPException {
344:                delegateElement.setEncodingStyle(arg0);
345:            }
346:
347:            public void setNodeValue(String arg0) throws DOMException {
348:                delegateElement.setNodeValue(arg0);
349:            }
350:
351:            public void setParentElement(SOAPElement arg0) throws SOAPException {
352:                delegateElement.setParentElement(arg0);
353:            }
354:
355:            public void setPrefix(String arg0) throws DOMException {
356:                delegateElement.setPrefix(arg0);
357:            }
358:
359:            public void setValue(String arg0) {
360:                delegateElement.setValue(arg0);
361:            }
362:
363:            public String toString() {
364:                return delegateElement.toString();
365:            }
366:
367:            // DOM L3 methods from org.w3c.dom.Node
368:            public String getBaseURI() {
369:                return delegateElement.getBaseURI();
370:            }
371:
372:            public short compareDocumentPosition(org.w3c.dom.Node other)
373:                    throws DOMException {
374:                return delegateElement.compareDocumentPosition(other);
375:            }
376:
377:            public String getTextContent() throws DOMException {
378:                return delegateElement.getTextContent();
379:            }
380:
381:            public void setTextContent(String textContent) throws DOMException {
382:                delegateElement.setTextContent(textContent);
383:            }
384:
385:            public boolean isSameNode(org.w3c.dom.Node other) {
386:                return delegateElement.isSameNode(other);
387:            }
388:
389:            public String lookupPrefix(String namespaceURI) {
390:                return delegateElement.lookupPrefix(namespaceURI);
391:            }
392:
393:            public boolean isDefaultNamespace(String namespaceURI) {
394:                return delegateElement.isDefaultNamespace(namespaceURI);
395:            }
396:
397:            public String lookupNamespaceURI(String prefix) {
398:                return delegateElement.lookupNamespaceURI(prefix);
399:            }
400:
401:            public boolean isEqualNode(org.w3c.dom.Node arg) {
402:                return delegateElement.isEqualNode(arg);
403:            }
404:
405:            public Object getFeature(String feature, String version) {
406:                return delegateElement.getFeature(feature, version);
407:            }
408:
409:            public Object setUserData(String key, Object data,
410:                    UserDataHandler handler) {
411:                return delegateElement.setUserData(key, data, handler);
412:            }
413:
414:            public Object getUserData(String key) {
415:                return delegateElement.getUserData(key);
416:            }
417:
418:            // DOM L3 methods from org.w3c.dom.Element
419:
420:            public void setIdAttribute(String name, boolean isId)
421:                    throws DOMException {
422:                delegateElement.setIdAttribute(name, isId);
423:            }
424:
425:            public void setIdAttributeNode(Attr idAttr, boolean isId)
426:                    throws DOMException {
427:                delegateElement.setIdAttributeNode(idAttr, isId);
428:            }
429:
430:            public void setIdAttributeNS(String namespaceURI, String localName,
431:                    boolean isId) throws DOMException {
432:                delegateElement.setIdAttributeNS(namespaceURI, localName, isId);
433:            }
434:
435:            public TypeInfo getSchemaTypeInfo() {
436:                return delegateElement.getSchemaTypeInfo();
437:            }
438:
439:            public Iterator getAllAttributesAsQNames() {
440:                return delegateElement.getAllAttributesAsQNames();
441:            }
442:
443:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.