Methods Summary |
---|
public void | addBody()
|
public void | addHeader(com.sun.xml.ws.security.policy.Header header)
|
public java.util.Iterator | getHeaders()
populate();
if(targets == null){
return Collections.emptyList().iterator();
}
return targets.iterator();
|
public boolean | hasBody()
populate();
return body;
|
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 as = (PolicyAssertion) it.next();
if(PolicyUtil.isBody(as)){
// assertions.remove(as);
body = true;
// break;
}else{
targets.add(as);
}
}
//targets = assertions;
}
populated = true;
}
return fitness;
|
public AssertionFitness | validate(boolean isServer)
return populate(isServer);
|