Methods Summary |
---|
public com.sun.xml.ws.addressing.policy.Address | getAddress()
populate();
return (Address) address;
|
public java.lang.String | getPortType()
populate();
return portType;
|
public com.sun.xml.ws.policy.PolicyAssertion | getReferenceParameters()
populate();
return refParams;
|
public com.sun.xml.ws.policy.PolicyAssertion | getReferenceProperties()
populate();
return refProps;
|
public com.sun.xml.ws.policy.PolicyAssertion | getServiceName()
populate();
return serviceName;
|
private void | populate()
populate(false);
|
private synchronized AssertionFitness | populate(boolean isServer)
if(!populated){
if ( this.hasNestedAssertions() ) {
Iterator <PolicyAssertion> it = this.getNestedAssertionsIterator();
while ( it.hasNext() ) {
PolicyAssertion assertion = it.next();
if ( PolicyUtil.isAddress(assertion)) {
this.address = (Address) assertion;
} else if(PolicyUtil.isPortType(assertion)){
this.portType = assertion.getValue();
} else if(PolicyUtil.isReferenceParameters(assertion)){
this.refParams = assertion;
} else if(PolicyUtil.isReferenceProperties(assertion)){
this.refProps = assertion;
} else if(PolicyUtil.isServiceName(assertion)){
this.serviceName = assertion;
}
}
}
populated = true;
}
return fitness;
|
public AssertionFitness | validate(boolean isServer)
return populate(isServer);
|