@Override public void visit(Model model) throws Exception { for(Service s:model.getServices()){ s.accept(this); } }
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
public static boolean isEncoded(Model model) { if (model == null) return false; for (Service service : model.getServices()) { for (Port port : service.getPorts()) { for (Operation operation : port.getOperations()) { if (operation.getUse() != null && operation.getUse().equals(SOAPUse.LITERAL)) return false; } } } return true; }
public boolean isBodyEncoded() { boolean isEncoded = false; for (Iterator iter = getBodyBlocks(); iter.hasNext();) { Block bodyBlock = (Block) iter.next(); if (bodyBlock.getType().isSOAPType()) { isEncoded = true; } } return isEncoded; }
@Override public void visit(Model model) throws Exception { for(Service s:model.getServices()){ s.accept(this); } }
public boolean isBodyEncoded() { boolean isEncoded = false; for (Iterator iter = getBodyBlocks(); iter.hasNext();) { Block bodyBlock = (Block) iter.next(); if (bodyBlock.getType().isSOAPType()) { isEncoded = true; } } return isEncoded; }
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
@Override public void visit(Model model) throws Exception { for (Service service : model.getServices()) { service.accept(this); } }
public boolean isBodyEncoded() { boolean isEncoded = false; for (Iterator iter = getBodyBlocks(); iter.hasNext();) { Block bodyBlock = (Block) iter.next(); if (bodyBlock.getType().isSOAPType()) { isEncoded = true; } } return isEncoded; }
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
@Override public void visit(Model model) throws Exception { for (Service service : model.getServices()) { service.accept(this); } }
@Override public void visit(Port port) throws Exception { for (Operation operation : port.getOperations()) { operation.accept(this); } }
@Override public void visit(Model model) throws Exception { for (Service service : model.getServices()) { service.accept(this); } }
@Override public void visit(Model model) throws Exception { for(Service s:model.getServices()){ s.accept(this); } }
@Override public void visit(Model model) throws Exception { for(Service s:model.getServices()){ s.accept(this); } }
@Override public void visit(Model model) throws Exception { for (Service service : model.getServices()) { service.accept(this); } }