| Package | Description |
|---|---|
| com.sun.xml.ws.policy.sourcemodel |
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) ModelNode |
PolicyModelTranslator.RawAssertion.originalNode |
private ModelNode |
ModelNode.parentNode |
private ModelNode |
PolicySourceModel.rootNode |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<ModelNode> |
PolicyModelTranslator.ContentDecomposition.assertions |
private java.util.LinkedList<ModelNode> |
ModelNode.children |
(package private) java.util.List<java.util.Collection<ModelNode>> |
PolicyModelTranslator.ContentDecomposition.exactlyOneContents |
(package private) java.util.Collection<ModelNode> |
PolicyModelTranslator.RawPolicy.originalContent |
(package private) java.util.Collection<ModelNode> |
PolicyModelTranslator.RawAssertion.parameters |
private java.util.List<ModelNode> |
PolicySourceModel.references |
private java.util.Collection<ModelNode> |
ModelNode.unmodifiableViewOnContent |
| Modifier and Type | Method and Description |
|---|---|
private ModelNode |
XmlPolicyModelUnmarshaller.addNewChildNode(NamespaceVersion nsVersion,
ModelNode parentNode,
javax.xml.stream.events.StartElement childElement) |
protected ModelNode |
ModelNode.clone() |
ModelNode |
ModelNode.createChildAllNode()
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
ModelNode |
ModelNode.createChildAssertionNode()
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
ModelNode |
ModelNode.createChildAssertionNode(AssertionData nodeData)
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
ModelNode |
ModelNode.createChildAssertionParameterNode()
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
(package private) ModelNode |
ModelNode.createChildAssertionParameterNode(AssertionData nodeData)
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
ModelNode |
ModelNode.createChildExactlyOneNode()
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
ModelNode |
ModelNode.createChildPolicyNode()
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
(package private) ModelNode |
ModelNode.createChildPolicyReferenceNode(PolicyReferenceData referenceData)
Factory method that creates new policy source model node as specified by a factory method name and input parameters.
|
(package private) static ModelNode |
ModelNode.createRootPolicyNode(PolicySourceModel model)
The factory method creates and initializes the POLICY model node and sets it's parent model reference to point to
the model supplied as an input parameter.
|
ModelNode |
ModelNode.getParentNode()
Returns the parent referenced by this policy source model node.
|
private static ModelNode |
PolicyModelTranslator.getReferencedModelRootNode(ModelNode policyReferenceNode) |
ModelNode |
PolicySourceModel.getRootNode()
Returns a root node of this policy source model.
|
protected ModelNode |
NormalizedModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy) |
protected abstract ModelNode |
PolicyModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy)
Iterates through a nested policy and returns the corresponding policy info model.
|
protected ModelNode |
CompactModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy) |
| Modifier and Type | Method and Description |
|---|---|
private java.util.Collection<ModelNode> |
PolicyModelTranslator.expandsExactlyOneContent(java.util.Collection<ModelNode> content)
Expands content of 'EXACTLY_ONE' node.
|
(package private) java.util.Collection<ModelNode> |
ModelNode.getChildren() |
java.util.Iterator<ModelNode> |
ModelNode.iterator()
Iterates through all child nodes.
|
| Modifier and Type | Method and Description |
|---|---|
private boolean |
ModelNode.addChild(ModelNode child)
Appends the specified child node to the end of the children list of this node and sets it's parent to reference
this node.
|
private ModelNode |
XmlPolicyModelUnmarshaller.addNewChildNode(NamespaceVersion nsVersion,
ModelNode parentNode,
javax.xml.stream.events.StartElement childElement) |
(package private) void |
PolicySourceModel.addNewPolicyReference(ModelNode node)
Adds new policy reference to the policy source model.
|
private PolicyAssertion |
PolicyModelTranslator.createPolicyAssertionParameter(ModelNode parameterNode) |
private static ModelNode |
PolicyModelTranslator.getReferencedModelRootNode(ModelNode policyReferenceNode) |
private void |
XmlPolicyModelMarshaller.marshal(NamespaceVersion nsVersion,
ModelNode rootNode,
com.sun.xml.txw2.TypedXmlWriter writer)
Marshal given ModelNode and child elements on given TypedXmlWriter.
|
private void |
XmlPolicyModelUnmarshaller.parseAssertionData(NamespaceVersion nsVersion,
java.lang.String value,
ModelNode childNode,
javax.xml.stream.events.StartElement childElement) |
protected void |
PolicyModelGenerator.translate(ModelNode node,
AssertionSet assertions)
Add the contents of the assertion set as child node to the given model node.
|
protected void |
PolicyModelGenerator.translate(ModelNode assertionNode,
java.util.Iterator<PolicyAssertion> assertionParametersIterator)
Iterates through all contained assertions and adds them to the info model.
|
protected ModelNode |
NormalizedModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy) |
protected abstract ModelNode |
PolicyModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy)
Iterates through a nested policy and returns the corresponding policy info model.
|
protected ModelNode |
CompactModelGenerator.translate(ModelNode parentAssertion,
NestedPolicy policy) |
private java.lang.String |
XmlPolicyModelUnmarshaller.unmarshalNodeContent(NamespaceVersion nsVersion,
ModelNode node,
javax.xml.namespace.QName nodeElementName,
javax.xml.stream.XMLEventReader reader) |
| Modifier and Type | Method and Description |
|---|---|
private void |
PolicyModelTranslator.decompose(java.util.Collection<ModelNode> content,
PolicyModelTranslator.ContentDecomposition decomposition)
Decomposes the unprocessed alternative content into two different collections:
Content of 'EXACTLY_ONE' child nodes is expanded and placed in one list and
'ASSERTION' nodes are placed into other list.
|
private java.util.Collection<ModelNode> |
PolicyModelTranslator.expandsExactlyOneContent(java.util.Collection<ModelNode> content)
Expands content of 'EXACTLY_ONE' node.
|
| Constructor and Description |
|---|
RawAssertion(ModelNode originalNode,
java.util.Collection<ModelNode> parameters) |
RawPolicy(ModelNode policyNode,
java.util.Collection<PolicyModelTranslator.RawAlternative> alternatives) |
| Constructor and Description |
|---|
RawAlternative(java.util.Collection<ModelNode> assertionNodes) |
RawAssertion(ModelNode originalNode,
java.util.Collection<ModelNode> parameters) |