Java Doc for JAXBCryptoContext.java in  » 6.0-JDK-Modules-com.sun » xws-security » com » sun » xml » ws » security » opt » crypto » jaxb » 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.opt.crypto.jaxb 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.ws.security.opt.crypto.jaxb.JAXBCryptoContext

All known Subclasses:   com.sun.xml.ws.security.opt.crypto.jaxb.JAXBValidateContext,  com.sun.xml.ws.security.opt.crypto.jaxb.JAXBSignContext,
JAXBCryptoContext
public class JAXBCryptoContext implements javax.xml.crypto.XMLCryptoContext(Code)

author:
   Abhijit Das



Constructor Summary
public  JAXBCryptoContext()
    

Method Summary
public  Objectget(Object key)
     Returns the value to which this context maps the specified key.

More formally, if this context contains a mapping from a key k to a value v such that (key==null ? k==null : key.equals(k)), then this method returns v; otherwise it returns null.

public  StringgetBaseURI()
     Returns the base URI.
public  StringgetDefaultNamespacePrefix()
     Returns the default namespace prefix.
public  KeySelectorgetKeySelector()
     Returns the key selector for finding a key.
public  StringgetNamespacePrefix(String namespaceURI, String defaultPrefix)
     Returns the namespace prefix that the specified namespace URI is associated with.
public  ObjectgetProperty(String name)
     Returns the value of the specified property.
public  URIDereferencergetURIDereferencer()
     Returns a URIDereferencer that is used to dereference URIReference s.
public  Objectput(Object key, Object value)
     Associates the specified value with the specified key in this context.
public  StringputNamespacePrefix(String namespaceURI, String prefix)
     Maps the specified namespace URI to the specified prefix.
public  voidsetBaseURI(String baseURI)
     Sets the base URI.
public  voidsetDefaultNamespacePrefix(String defaultNamespacePrefix)
     Sets the default namespace prefix.
public  voidsetKeySelector(KeySelector keySelector)
     Sets the key selector for finding a key.
public  ObjectsetProperty(String name, Object value)
     Sets the specified property.
public  voidsetURIDereferencer(URIDereferencer uriDereferencer)
     Sets a URIDereferencer that is used to dereference URIReference s.


Constructor Detail
JAXBCryptoContext
public JAXBCryptoContext()(Code)
Creates a new instance of JAXBCryptoContext




Method Detail
get
public Object get(Object key)(Code)
Returns the value to which this context maps the specified key.

More formally, if this context contains a mapping from a key k to a value v such that (key==null ? k==null : key.equals(k)), then this method returns v; otherwise it returns null. (There can be at most one such mapping.)

This method is useful for retrieving arbitrary information that is specific to the cryptographic operation that this context is used for.
Parameters:
  key - the key whose associated value is to be returned the value to which this context maps the specified key, ornull if there is no mapping for the key
See Also:   JAXBCryptoContext.put(Object,Object)




getBaseURI
public String getBaseURI()(Code)
Returns the base URI. the base URI, or null if not specified
See Also:   JAXBCryptoContext.setBaseURI(String)



getDefaultNamespacePrefix
public String getDefaultNamespacePrefix()(Code)
Returns the default namespace prefix. The default namespace prefix is the prefix for all namespace URIs not explicitly set by the JAXBCryptoContext.putNamespacePrefix putNamespacePrefix method. the default namespace prefix, or null if none hasbeen set.
See Also:   JAXBCryptoContext.setDefaultNamespacePrefix(String)



getKeySelector
public KeySelector getKeySelector()(Code)
Returns the key selector for finding a key. the key selector, or null if not specified
See Also:   JAXBCryptoContext.setKeySelector(KeySelector)



getNamespacePrefix
public String getNamespacePrefix(String namespaceURI, String defaultPrefix)(Code)
Returns the namespace prefix that the specified namespace URI is associated with. Returns the specified default prefix if the specified namespace URI has not been bound to a prefix. To bind a namespace URI to a prefix, call the JAXBCryptoContext.putNamespacePrefix putNamespacePrefix method.
Parameters:
  namespaceURI - a namespace URI
Parameters:
  defaultPrefix - the prefix to be returned in the event that thethe specified namespace URI has not been bound to a prefix. the prefix that is associated with the specified namespace URI,or defaultPrefix if the URI is not registered. Ifthe namespace URI is registered but has no prefix, an empty string("") is returned.
throws:
  NullPointerException - if namespaceURI isnull
See Also:   JAXBCryptoContext.putNamespacePrefix(String,String)



getProperty
public Object getProperty(String name)(Code)
Returns the value of the specified property.
Parameters:
  name - the name of the property the current value of the specified property, ornull if it does not have a value
throws:
  NullPointerException - if name is null
See Also:   JAXBCryptoContext.setProperty(String,Object)



getURIDereferencer
public URIDereferencer getURIDereferencer()(Code)
Returns a URIDereferencer that is used to dereference URIReference s. the URIDereferencer, or null if notspecified
See Also:   JAXBCryptoContext.setURIDereferencer(URIDereferencer)



put
public Object put(Object key, Object value)(Code)
Associates the specified value with the specified key in this context. If the context previously contained a mapping for this key, the old value is replaced by the specified value.

This method is useful for storing arbitrary information that is specific to the cryptographic operation that this context is used for.
Parameters:
  key - key with which the specified value is to be associated with
Parameters:
  value - value to be associated with the specified key the previous value associated with the key, or nullif there was no mapping for the key
throws:
  IllegalArgumentException - if some aspect of this key or valueprevents it from being stored in this context
See Also:   JAXBCryptoContext.get(Object)




putNamespacePrefix
public String putNamespacePrefix(String namespaceURI, String prefix)(Code)
Maps the specified namespace URI to the specified prefix. If there is already a prefix associated with the specified namespace URI, the old prefix is replaced by the specified prefix.
Parameters:
  namespaceURI - a namespace URI
Parameters:
  prefix - a namespace prefix (or null to remove anyexisting mapping). Specifying the empty string ("")binds no prefix to the namespace URI. the previous prefix associated with the specified namespaceURI, or null if there was none
throws:
  NullPointerException - if namespaceURI isnull
See Also:   JAXBCryptoContext.getNamespacePrefix(String,String)



setBaseURI
public void setBaseURI(String baseURI)(Code)
Sets the base URI.
Parameters:
  baseURI - the base URI, or null to remove currentvalue
throws:
  IllegalArgumentException - if baseURI is not RFC2396 compliant
See Also:   JAXBCryptoContext.getBaseURI



setDefaultNamespacePrefix
public void setDefaultNamespacePrefix(String defaultNamespacePrefix)(Code)
Sets the default namespace prefix. This sets the namespace prefix for all namespace URIs not explicitly set by the JAXBCryptoContext.putNamespacePrefixputNamespacePrefix method.
Parameters:
  defaultPrefix - the default namespace prefix, or nullto remove the current setting. Specify the empty string("") to bind no prefix.
See Also:   JAXBCryptoContext.getDefaultNamespacePrefix



setKeySelector
public void setKeySelector(KeySelector keySelector)(Code)
Sets the key selector for finding a key.
Parameters:
  ks - the key selector, or null to remove the currentsetting
See Also:   JAXBCryptoContext.getKeySelector



setProperty
public Object setProperty(String name, Object value)(Code)
Sets the specified property.
Parameters:
  name - the name of the property
Parameters:
  value - the value of the property to be set the previous value of the specified property, ornull if it did not have a value
throws:
  NullPointerException - if name is null
See Also:   JAXBCryptoContext.getProperty(String)



setURIDereferencer
public void setURIDereferencer(URIDereferencer uriDereferencer)(Code)
Sets a URIDereferencer that is used to dereference URIReference s. The specified URIDereferencer is used in place of an implementation's default URIDereferencer.
Parameters:
  dereferencer - the URIDereferencer, ornull to remove any current setting
See Also:   JAXBCryptoContext.getURIDereferencer



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www___.__ja__v__a2__s__.__c__om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.