| 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 |
|---|---|
private PolicySourceModel |
ModelNode.parentModel |
private PolicySourceModel |
ModelNode.referencedModel |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map<java.net.URI,PolicySourceModel> |
PolicySourceModelContext.policyModels |
| Modifier and Type | Method and Description |
|---|---|
protected PolicySourceModel |
PolicySourceModel.clone() |
protected PolicySourceModel |
PolicyModelGenerator.PolicySourceModelCreator.create(Policy policy)
Create an instance of the PolicySourceModel.
|
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion)
Factory method that creates new policy source model instance.
|
static PolicySourceModel |
PolicySourceModel.createPolicySourceModel(NamespaceVersion nsVersion,
java.lang.String policyId,
java.lang.String policyName)
Factory method that creates new policy source model instance and initializes it according to parameters provided.
|
protected PolicySourceModel |
XmlPolicyModelUnmarshaller.createSourceModel(NamespaceVersion nsVersion,
java.lang.String id,
java.lang.String name)
Allow derived classes to pass in a custom instance of PolicySourceModel.
|
PolicySourceModel |
ModelNode.getParentModel()
Returns the parent policy source model that contains this model node.
|
(package private) PolicySourceModel |
ModelNode.getReferencedModel() |
private PolicySourceModel |
XmlPolicyModelUnmarshaller.initializeNewModel(javax.xml.stream.events.StartElement element) |
(package private) PolicySourceModel |
PolicySourceModelContext.retrieveModel(java.net.URI modelUri) |
(package private) PolicySourceModel |
PolicySourceModelContext.retrieveModel(java.net.URI modelUri,
java.net.URI digestAlgorithm,
java.lang.String digest) |
PolicySourceModel |
NormalizedModelGenerator.translate(Policy policy) |
abstract PolicySourceModel |
PolicyModelGenerator.translate(Policy policy)
This method translates a
Policy into a
policy infoset. |
PolicySourceModel |
CompactModelGenerator.translate(Policy policy) |
PolicySourceModel |
XmlPolicyModelUnmarshaller.unmarshalModel(java.lang.Object storage)
|
abstract PolicySourceModel |
PolicyModelUnmarshaller.unmarshalModel(java.lang.Object storage)
Unmarshalls single policy source model from provided storage reference.
|
| Modifier and Type | Method and Description |
|---|---|
private java.util.Map<java.net.URI,PolicySourceModel> |
PolicySourceModelContext.getModels() |
| Modifier and Type | Method and Description |
|---|---|
void |
PolicySourceModelContext.addModel(java.net.URI modelUri,
PolicySourceModel model) |
private java.util.Collection<AssertionSet> |
PolicyModelTranslator.createPolicyAlternatives(PolicySourceModel model)
Method creates policy alternatives according to provided model.
|
(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.
|
abstract void |
PolicyModelMarshaller.marshal(PolicySourceModel model,
java.lang.Object storage)
Marshalls the policy source model using provided storage reference
|
void |
XmlPolicyModelMarshaller.marshal(PolicySourceModel model,
java.lang.Object storage) |
private void |
XmlPolicyModelMarshaller.marshal(PolicySourceModel model,
com.sun.xml.txw2.output.StaxSerializer writer)
Marshal a policy onto the given StaxSerializer.
|
private void |
XmlPolicyModelMarshaller.marshal(PolicySourceModel model,
com.sun.xml.txw2.TypedXmlWriter writer)
Marshal a policy onto the given TypedXmlWriter.
|
private void |
XmlPolicyModelMarshaller.marshal(PolicySourceModel model,
javax.xml.stream.XMLStreamWriter writer)
Marshal a policy onto the given XMLStreamWriter.
|
private void |
XmlPolicyModelMarshaller.marshalDefaultPrefixes(PolicySourceModel model,
com.sun.xml.txw2.TypedXmlWriter writer)
Write default prefixes onto the given TypedXmlWriter
|
private static void |
XmlPolicyModelMarshaller.marshalPolicyAttributes(PolicySourceModel model,
com.sun.xml.txw2.TypedXmlWriter writer)
Marshal the Policy root element attributes onto the TypedXmlWriter.
|
(package private) void |
ModelNode.setParentModel(PolicySourceModel model)
Sets the parent model reference on the node and its children.
|
(package private) void |
ModelNode.setReferencedModel(PolicySourceModel model) |
Policy |
PolicyModelTranslator.translate(PolicySourceModel model)
The method translates
PolicySourceModel structure into normalized Policy expression. |
private void |
ModelNode.updateParentModelReference(PolicySourceModel model)
The method updates the parentModel reference on current model node instance and all of it's children
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
PolicyModelMarshaller.marshal(java.util.Collection<PolicySourceModel> models,
java.lang.Object storage)
Marshalls the collection of policy source models using provided storage reference
|
void |
XmlPolicyModelMarshaller.marshal(java.util.Collection<PolicySourceModel> models,
java.lang.Object storage) |
| Constructor and Description |
|---|
ModelNode(ModelNode.Type type,
PolicySourceModel parentModel) |
ModelNode(ModelNode.Type type,
PolicySourceModel parentModel,
AssertionData data) |
ModelNode(PolicySourceModel parentModel,
PolicyReferenceData data) |