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


java.lang.Object
   com.sun.xml.ws.policy.sourcemodel.AssertionData

AssertionData
final public class AssertionData implements Cloneable,Serializable(Code)
Wrapper class for possible data that each 'assertion' and 'assertion parameter content' policy source model node may have attached.

These data, when stored in an 'assertion' model node, are intended to be used as input parameter when creating com.sun.xml.ws.policy.PolicyAssertion objects via com.sun.xml.ws.policy.spi.PolicyAssertionCreator implementations.
author:
   Marek Potociar (marek.potociar@sun.com)




Constructor Summary
 AssertionData(QName name, String value, Map<QName, String> attributes, ModelNode.Type type)
     Constructs assertion data wrapper instance for an assertion or assertion parameter that contains a value or some attributes.
 AssertionData(AssertionData data)
    

Method Summary
protected  AssertionDataclone()
    
public  booleancontainsAttribute(QName name)
    
public static  AssertionDatacreateAssertionData(QName name)
     Constructs assertion data wrapper instance for an assertion that does not contain any value nor any attributes.
public static  AssertionDatacreateAssertionData(QName name, String value, Map<QName, String> attributes)
     Constructs assertion data wrapper instance for an assertion that does contain a value or attributes.
public static  AssertionDatacreateAssertionParameterData(QName name)
     Constructs assertion data wrapper instance for an assertion parameter that does not contain any value nor any attributes.
public static  AssertionDatacreateAssertionParameterData(QName name, String value, Map<QName, String> attributes)
    
public  booleanequals(Object obj)
     An Object.equals(Object obj) method override.
public  StringgetAttributeValue(QName name)
    
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.

public  Set<Map.Entry<QName, String>>getAttributesSet()
     Returns the disconnected set of attributes attached to the assertion.
public  QNamegetName()
     Returns the name of the assertion.
public  ModelNode.TypegetNodeType()
    
public  StringgetValue()
     Returns the value of the assertion.
public  inthashCode()
     An Object.hashCode() method override.
public  booleanisPrivateAttributeSet()
     Method specifies whether the assertion data contain proprietary visibility element set to "private" value. 'true' if the attribute is present and set properly (i.e.
public  StringremoveAttribute(QName name)
    
public  voidsetAttribute(QName name, String value)
    
public  voidsetOptionalAttribute(boolean value)
    
public  StringtoString()
     An Object.toString() method override.
public  StringBuffertoString(int indentLevel, StringBuffer buffer)
     A helper method that appends indented string representation of this instance to the input string buffer.


Constructor Detail
AssertionData
AssertionData(QName name, String value, Map<QName, String> attributes, ModelNode.Type type) throws IllegalArgumentException(Code)
Constructs assertion data wrapper instance for an assertion or assertion parameter that contains a value or some attributes. Whether the data wrapper is constructed for assertion or assertion parameter node is distinguished by the supplied type parameter.
Parameters:
  name - the FQN of the assertion or assertion parameter
Parameters:
  value - a String representation of model node value
Parameters:
  attributes - map of model node's <attribute name, attribute value> pairs
Parameters:
  type - specifies whether the data will belong to the assertion or assertion parameter node. This isa workaround solution that allows us to transfer this information about the owner node toa policy assertion instance factory without actualy having to touch the PolicyAssertionCreatorinterface and protected PolicyAssertion constructors.
throws:
  IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE



AssertionData
AssertionData(AssertionData data)(Code)
TODO: javadoc




Method Detail
clone
protected AssertionData clone() throws CloneNotSupportedException(Code)



containsAttribute
public boolean containsAttribute(QName name)(Code)
TODO: javadoc



createAssertionData
public static AssertionData createAssertionData(QName name) throws IllegalArgumentException(Code)
Constructs assertion data wrapper instance for an assertion that does not contain any value nor any attributes.
Parameters:
  name - the FQN of the assertion
throws:
  IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE



createAssertionData
public static AssertionData createAssertionData(QName name, String value, Map<QName, String> attributes) throws IllegalArgumentException(Code)
Constructs assertion data wrapper instance for an assertion that does contain a value or attributes.
Parameters:
  name - the FQN of the assertion
Parameters:
  value - a String representation of model node value
Parameters:
  attributes - map of model node's <attribute name, attribute value> pairs
throws:
  IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE



createAssertionParameterData
public static AssertionData createAssertionParameterData(QName name) throws IllegalArgumentException(Code)
Constructs assertion data wrapper instance for an assertion parameter that does not contain any value nor any attributes.
Parameters:
  name - the FQN of the assertion parameter
throws:
  IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE



createAssertionParameterData
public static AssertionData createAssertionParameterData(QName name, String value, Map<QName, String> attributes) throws IllegalArgumentException(Code)
Constructs assertion data wrapper instance for an assertion parameter that contains a value or attributes
Parameters:
  name - the FQN of the assertion parameter
Parameters:
  value - a String representation of model node value
Parameters:
  attributes - map of model node's <attribute name, attribute value> pairs
throws:
  IllegalArgumentException - in case the type parameter is notModelNode.Type.ASSERTION ASSERTION orModelNode.Type.ASSERTION_PARAMETER_NODE ASSERTION_PARAMETER_NODE



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



getAttributeValue
public String getAttributeValue(QName name)(Code)
TODO: javadoc



getAttributes
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
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. disconnected set of attributes attached to the assertion.




getName
public QName getName()(Code)
Returns the name of the assertion. assetion's name



getNodeType
public ModelNode.Type getNodeType()(Code)



getValue
public String getValue()(Code)
Returns the value of the assertion. assetion's value



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



isPrivateAttributeSet
public boolean isPrivateAttributeSet()(Code)
Method specifies whether the assertion data contain proprietary visibility element set to "private" value. 'true' if the attribute is present and set properly (i.e. the node containing this assertion data instance shouldnot be marshalled int generated WSDL documents). Returns false otherwise.



removeAttribute
public String removeAttribute(QName name)(Code)
TODO: javadoc



setAttribute
public void setAttribute(QName name, String value)(Code)
TODO: javadoc



setOptionalAttribute
public void setOptionalAttribute(boolean value)(Code)
TODO: javadoc



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



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