Java Doc for AssertionSet.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.AssertionSet

AssertionSet
final public class AssertionSet implements Iterable<PolicyAssertion>,Comparable<AssertionSet>(Code)
The AssertionSet is a set of assertions. It represents a single policy alternative.
author:
   Fabian Ritzmann, Marek Potociar




Method Summary
public  intcompareTo(AssertionSet that)
     An Comparable.compareTo(T o) interface method implementation.
public  booleancontains(QName assertionName)
    
public static  AssertionSetcreateAssertionSet(Collection<? extends PolicyAssertion> assertions)
     Creates and returns new assertion set holding a set of provided policy assertions.
Parameters:
  assertions - collection of provided policy assertions to be stored in the assertion set.
public static  AssertionSetcreateMergedAssertionSet(Collection<AssertionSet> alternatives)
     Creates and returns new assertion set holding content of all provided policy assertion sets.

This method should not be used to perform a merge of general Policy instances.

public static  AssertionSetemptyAssertionSet()
    
public  booleanequals(Object obj)
     An Object.equals(Object obj) method override.
public  Collection<PolicyAssertion>get(QName name)
     Searches for assertions with given name.
 Collection<PolicyAssertion>getAssertions()
     Return all assertions contained in this assertion set.
 Collection<QName>getVocabulary()
     Retrieves the vocabulary of this policy expression.
public  inthashCode()
     An Object.hashCode() method override.
 booleanisCompatibleWith(AssertionSet alternative, PolicyIntersector.CompatibilityMode mode)
     Checks whether this policy alternative is compatible with the provided policy alternative.
public  booleanisEmpty()
     Returns true if this assertion set contains no assertions.
public  Iterator<PolicyAssertion>iterator()
     Returns an iterator over a set of child policy assertion objects.
public  StringtoString()
     An Object.toString() method override.
 StringBuffertoString(int indentLevel, StringBuffer buffer)
     A helper method that appends indented string representation of this instance to the input string buffer.



Method Detail
compareTo
public int compareTo(AssertionSet that)(Code)
An Comparable.compareTo(T o) interface method implementation.
Parameters:
  that - other alternative to compare with



contains
public boolean contains(QName assertionName)(Code)
Returns true if the assertion set contains the assertion name specified in its vocabulary
Parameters:
  assertionName - the fully qualified name of the assertion true , if an assertion with the given name could be found in the assertion set vocabulary false otherwise.



createAssertionSet
public static AssertionSet createAssertionSet(Collection<? extends PolicyAssertion> assertions)(Code)
Creates and returns new assertion set holding a set of provided policy assertions.
Parameters:
  assertions - collection of provided policy assertions to be stored in the assertion set. May be null . new instance of assertion set holding the provided policy assertions



createMergedAssertionSet
public static AssertionSet createMergedAssertionSet(Collection<AssertionSet> alternatives)(Code)
Creates and returns new assertion set holding content of all provided policy assertion sets.

This method should not be used to perform a merge of general Policy instances. A client should be aware of the method's result meaning and the difference between merge of Policy instances and merge of AssertionSet instances.
Parameters:
  alternatives - collection of provided policy assertion sets which content is to be stored in the assertion set.May be null - empty assertion set is returned in such case. new instance of assertion set holding the content of all provided policy assertion sets.




emptyAssertionSet
public static AssertionSet emptyAssertionSet()(Code)



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



get
public Collection<PolicyAssertion> get(QName name)(Code)
Searches for assertions with given name. Only assertions that are contained as immediate children of the assertion set are searched, i.e. nested policies are not searched.
Parameters:
  name - The fully qualified name of searched assertion List of all assertions matching the requested name. If no assertions are found, the returned list is empty(i.e. null value is never returned).



getAssertions
Collection<PolicyAssertion> getAssertions()(Code)
Return all assertions contained in this assertion set. All assertions contained in this assertion set



getVocabulary
Collection<QName> getVocabulary()(Code)
Retrieves the vocabulary of this policy expression. The vocabulary is represented by an immutable collection of unique QName objects. Each of those objects represents single assertion type contained in the assertion set. immutable collection of assertion types contained in the assertion set (a policy vocabulary).



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



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



isEmpty
public boolean isEmpty()(Code)
Returns true if this assertion set contains no assertions. true if this assertion set contains no assertions.



iterator
public Iterator<PolicyAssertion> iterator()(Code)
Returns an iterator over a set of child policy assertion objects. policy assertion Iterator.



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



toString
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.