Java Doc for PolicyAssertion.java in  » 6.0-JDK-Modules-com.sun » wsit » com » sun » xml » ws » policy » 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 » wsit » com.sun.xml.ws.policy 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.sun.xml.ws.policy.PolicyAssertion

All known Subclasses:   com.sun.xml.ws.security.impl.policy.Token,  com.sun.xml.ws.security.impl.policy.SymmetricBinding,  com.sun.xml.ws.security.impl.policy.BootstrapPolicy,  com.sun.xml.ws.security.impl.policy.UsernameToken,  com.sun.xml.ws.addressing.impl.policy.EndpointReference,  com.sun.xml.ws.policy.SimpleAssertion,  com.sun.xml.ws.security.impl.policy.CallbackHandler,  com.sun.xml.ws.security.impl.policy.AlgorithmSuite,  com.sun.xml.ws.security.impl.policy.SupportingTokens,  com.sun.xml.ws.security.impl.policy.Validator,  com.sun.xml.ws.security.impl.policy.HttpsToken,  com.sun.xml.ws.security.impl.policy.Wss11,  com.sun.xml.ws.security.impl.policy.Issuer,  com.sun.xml.ws.security.impl.policy.EncryptedParts,  com.sun.xml.ws.security.impl.policy.EncryptedElements,  com.sun.xml.ws.security.impl.policy.SecurityContextToken,  com.sun.xml.ws.security.impl.policy.AsymmetricBinding,  com.sun.xml.ws.addressing.impl.policy.Address,  com.sun.xml.ws.security.impl.policy.X509Token,  com.sun.xml.ws.policy.ComplexAssertion,  com.sun.xml.ws.security.impl.policy.SignedParts,  com.sun.xml.ws.security.impl.policy.Header,  com.sun.xml.ws.security.impl.policy.KeyStore,  com.sun.xml.ws.security.impl.policy.SecureConversationToken,  com.sun.xml.ws.security.impl.policy.Wss10,  com.sun.xml.ws.security.impl.policy.RequiredElements,  com.sun.xml.ws.security.impl.policy.Lifetime,  com.sun.xml.ws.security.impl.policy.SpnegoContextToken,  com.sun.xml.ws.security.impl.policy.Trust10,  com.sun.xml.ws.security.impl.policy.KerberosToken,  com.sun.xml.ws.security.impl.policy.SamlToken,  com.sun.xml.ws.security.impl.policy.CertStoreConfig,  com.sun.xml.ws.security.impl.policy.SignedElements,  com.sun.xml.ws.security.impl.policy.RelToken,  com.sun.xml.ws.security.impl.policy.ValidatorConfiguration,  com.sun.xml.ws.security.impl.policy.CallbackHandlerConfiguration,  com.sun.xml.ws.security.impl.policy.TransportBinding,  com.sun.xml.ws.security.impl.policy.RequestSecurityTokenTemplate,  com.sun.xml.ws.security.impl.policy.Layout,  com.sun.xml.ws.security.impl.policy.UseKey,  com.sun.xml.ws.security.impl.policy.IssuedToken,  com.sun.xml.ws.security.impl.policyconv.SCTokenWrapper,
PolicyAssertion
abstract public class PolicyAssertion (Code)
Base class for any policy assertion implementations. It defines the common interface and provides some default implentation for common policy assertion functionality.

NOTE: Assertion implementers should not extend this class directly. SimpleAssertion or ComplexAssertion should be used as a base class instead.
author:
   Marek Potociar (marek.potociar at sun.com)




Constructor Summary
protected  PolicyAssertion()
    
protected  PolicyAssertion(AssertionData assertionData, Collection<? extends PolicyAssertion> assertionParameters, AssertionSet nestedAlternative)
     Creates generic assertionand stores the data specified in input parameters
Parameters:
  assertionData - assertion creation data specifying the details of newly created assertion.
protected  PolicyAssertion(AssertionData assertionData, Collection<? extends PolicyAssertion> assertionParameters)
     Creates generic assertionand stores the data specified in input parameters
Parameters:
  assertionData - assertion creation data specifying the details of newly created assertion
Parameters:
  assertionParameters - collection of assertions parameters of this policy assertion.

Method Summary
public  booleanequals(Object obj)
     An Object.equals(Object obj) method override.
final public  StringgetAttributeValue(QName name)
     Returns the value of an attribute.
final public  Map<QName, String>getAttributes()
     Returns the disconnected map of attributes attached to the assertion.

'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification.

final public  Set<Map.Entry<QName, String>>getAttributesSet()
     Returns the disconnected set of attributes attached to the assertion.
final public  QNamegetName()
     Returns the fully qualified name of the assertion.
final public  Iterator<PolicyAssertion>getNestedAssertionsIterator()
     Returns the assertion's parameter collection iterator.
public  NestedPolicygetNestedPolicy()
     Returns the nested policy if any. the nested policy if the assertion contains a nested policy.
final public  Iterator<PolicyAssertion>getParametersIterator()
     Returns the assertion's parameter collection iterator.
final public  StringgetValue()
     Returns the value of the assertion - the character data content contained in the assertion element representation. assertion's value.
final public  booleanhasNestedAssertions()
     Returns the boolean information whether this assertion contains any parameters. true if the assertion contains parameters.
public  booleanhasNestedPolicy()
     Returns the boolean information whether this assertion contains nested policy. true if the assertion contains child (nested) policy.
final public  booleanhasParameters()
     Returns the boolean information whether this assertion contains any parameters. true if the assertion contains parameters.
public  inthashCode()
     An Object.hashCode() method override.
 booleanisCompatibleWith(PolicyAssertion assertion, PolicyIntersector.CompatibilityMode mode)
     Checks whether this policy alternative is compatible with the provided policy alternative.
public  booleanisIgnorable()
     Method specifies whether the assertion is ignorable or not.

This is a default implementation that may be overriden.

public  booleanisOptional()
     Method specifies whether the assertion is otpional or not.

This is a default implementation that may be overriden.

 booleanisParameter()
    
final public  booleanisPrivate()
     Method specifies whether the assertion is private or not.
public  StringtoString()
     An Object.toString() method override.
protected  StringBuffertoString(int indentLevel, StringBuffer buffer)
     A helper method that appends indented string representation of this instance to the input string buffer.


Constructor Detail
PolicyAssertion
protected PolicyAssertion()(Code)



PolicyAssertion
protected PolicyAssertion(AssertionData assertionData, Collection<? extends PolicyAssertion> assertionParameters, AssertionSet nestedAlternative)(Code)
Creates generic assertionand stores the data specified in input parameters
Parameters:
  assertionData - assertion creation data specifying the details of newly created assertion. May be null .
Parameters:
  assertionParameters - collection of assertions parameters of this policy assertion. May be null .
Parameters:
  nestedAlternative - assertion set specifying nested policy alternative. May be null .



PolicyAssertion
protected PolicyAssertion(AssertionData assertionData, Collection<? extends PolicyAssertion> assertionParameters)(Code)
Creates generic assertionand stores the data specified in input parameters
Parameters:
  assertionData - assertion creation data specifying the details of newly created assertion
Parameters:
  assertionParameters - collection of assertions parameters of this policy assertion. May be null .




Method Detail
equals
public boolean equals(Object obj)(Code)
An Object.equals(Object obj) method override.



getAttributeValue
final public String getAttributeValue(QName name)(Code)
Returns the value of an attribute. Returns null if an attribute with the given name does not exist.
Parameters:
  name - The fully qualified name of the attribute The value of the attribute. Returns null if there is no such attribute or if it's value is null.



getAttributes
final public Map<QName, String> getAttributes()(Code)
Returns the disconnected map of attributes attached to the assertion.

'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's attributes. disconnected map of attributes attached to the assertion.




getAttributesSet
final public Set<Map.Entry<QName, String>> getAttributesSet()(Code)
Returns the disconnected set of attributes attached to the assertion. Each attribute is represented as a single Map.Entry element.

'Disconnected' means, that the result of this method will not be synchronized with any consequent assertion's attribute modification. It is also important to notice that a manipulation with returned set of attributes will not have any effect on the actual assertion's attributes. disconected set of attributes attached to the assertion.




getName
final public QName getName()(Code)
Returns the fully qualified name of the assertion. assertion's fully qualified name.



getNestedAssertionsIterator
final public Iterator<PolicyAssertion> getNestedAssertionsIterator()(Code)
Returns the assertion's parameter collection iterator. the assertion's parameter collection iterator.



getNestedPolicy
public NestedPolicy getNestedPolicy()(Code)
Returns the nested policy if any. the nested policy if the assertion contains a nested policy. Returns null otherwise.



getParametersIterator
final public Iterator<PolicyAssertion> getParametersIterator()(Code)
Returns the assertion's parameter collection iterator. the assertion's parameter collection iterator.



getValue
final public String getValue()(Code)
Returns the value of the assertion - the character data content contained in the assertion element representation. assertion's value. May return null if there is no value set for the assertion.



hasNestedAssertions
final public boolean hasNestedAssertions()(Code)
Returns the boolean information whether this assertion contains any parameters. true if the assertion contains parameters. Returns false otherwise.



hasNestedPolicy
public boolean hasNestedPolicy()(Code)
Returns the boolean information whether this assertion contains nested policy. true if the assertion contains child (nested) policy. Returns false otherwise.



hasParameters
final public boolean hasParameters()(Code)
Returns the boolean information whether this assertion contains any parameters. true if the assertion contains parameters. Returns false otherwise.



hashCode
public int hashCode()(Code)
An Object.hashCode() method override.



isCompatibleWith
boolean isCompatibleWith(PolicyAssertion assertion, PolicyIntersector.CompatibilityMode mode)(Code)
Checks whether this policy alternative is compatible with the provided policy alternative.
Parameters:
  assertion - policy alternative used for compatibility test
Parameters:
  mode - compatibility mode to be used true if the two policy alternatives are compatible, false otherwise



isIgnorable
public boolean isIgnorable()(Code)
Method specifies whether the assertion is ignorable or not.

This is a default implementation that may be overriden. The method returns true if the wsp:Ignorable attribute is present on the assertion and its value is 'true' . Otherwise the method returns false . 'true' if the assertion is ignorable. Returns false otherwise.




isOptional
public boolean isOptional()(Code)
Method specifies whether the assertion is otpional or not.

This is a default implementation that may be overriden. The method returns true if the wsp:optional attribute is present on the assertion and its value is 'true' . Otherwise the method returns false . 'true' if the assertion is optional. Returns false otherwise.




isParameter
boolean isParameter()(Code)



isPrivate
final public boolean isPrivate()(Code)
Method specifies whether the assertion is private or not. This is specified by our proprietary visibility element. 'true' if the assertion is marked as private (i.e. should not be marshalled int generated WSDL documents). Returns false otherwise.



toString
public String toString()(Code)
An Object.toString() method override.



toString
protected StringBuffer toString(int indentLevel, StringBuffer buffer)(Code)
A helper method that appends indented string representation of this instance to the input string buffer.
Parameters:
  indentLevel - indentation level to be used.
Parameters:
  buffer - buffer to be used for appending string representation of this instance modified buffer containing new string representation of the instance



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.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.