/** * Populates the Map that holds operation name as key and {@link WSDLBoundOperation} as the value. * * @param opName Must be non-null * @param ptOp Must be non-null * @throws NullPointerException if either opName or ptOp is null */ public void put(QName opName, EditableWSDLBoundOperation ptOp) { bindingOperations.put(opName,ptOp); }
/** * Populates the Map that holds operation name as key and {@link WSDLBoundOperation} as the value. * * @param opName Must be non-null * @param ptOp Must be non-null * @throws NullPointerException if either opName or ptOp is null */ public void put(QName opName, EditableWSDLBoundOperation ptOp) { bindingOperations.put(opName,ptOp); }
/** * Populates the Map that holds operation name as key and {@link WSDLBoundOperation} as the value. * * @param opName Must be non-null * @param ptOp Must be non-null * @throws NullPointerException if either opName or ptOp is null */ public void put(QName opName, EditableWSDLBoundOperation ptOp) { bindingOperations.put(opName,ptOp); }
public void put(QName name, V value ) { put(name.getNamespaceURI(),name.getLocalPart(),value); }
public QNameMap<V> putAll(Map<QName,? extends V> map) { for (Map.Entry<QName, ? extends V> e : map.entrySet()) { QName qn = e.getKey(); put(qn.getNamespaceURI(),qn.getLocalPart(),e.getValue()); } return this; }
public void put(QName name, V value ) { put(name.getNamespaceURI(),name.getLocalPart(),value); }
public void put(QName name, V value ) { put(name.getNamespaceURI(),name.getLocalPart(),value); }
public QNameMap<V> putAll(Map<QName,? extends V> map) { for (Map.Entry<QName, ? extends V> e : map.entrySet()) { QName qn = e.getKey(); put(qn.getNamespaceURI(),qn.getLocalPart(),e.getValue()); } return this; }
public QNameMap<V> putAll(Map<QName,? extends V> map) { for (Map.Entry<QName, ? extends V> e : map.entrySet()) { QName qn = e.getKey(); put(qn.getNamespaceURI(),qn.getLocalPart(),e.getValue()); } return this; }
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
public EditableWSDLFault getFault(QName faultDetailName) { EditableWSDLFault fault = faultMap.get(faultDetailName); if(fault != null) return fault; for(EditableWSDLFault fi : faults){ assert fi.getMessage().parts().iterator().hasNext(); EditableWSDLPart part = fi.getMessage().parts().iterator().next(); if(part.getDescriptor().name().equals(faultDetailName)){ faultMap.put(faultDetailName, fi); return fi; } } return null; }
private void freezePayloadMap() { if(style== Style.RPC) { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); for(EditableWSDLBoundOperation op : bindingOperations.values()){ payloadMap.put(op.getRequestPayloadName(), op); } } else { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); // For doclit The tag will be the operation that has the same input part descriptor value for(EditableWSDLBoundOperation op : bindingOperations.values()){ QName name = op.getRequestPayloadName(); if(name == null){ //empty payload emptyPayloadOperation = op; continue; } payloadMap.put(name, op); } } } }
private void freezePayloadMap() { if(style== Style.RPC) { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); for(EditableWSDLBoundOperation op : bindingOperations.values()){ payloadMap.put(op.getRequestPayloadName(), op); } } else { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); // For doclit The tag will be the operation that has the same input part descriptor value for(EditableWSDLBoundOperation op : bindingOperations.values()){ QName name = op.getRequestPayloadName(); if(name == null){ //empty payload emptyPayloadOperation = op; continue; } payloadMap.put(name, op); } } } }
private void freezePayloadMap() { if(style== Style.RPC) { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); for(EditableWSDLBoundOperation op : bindingOperations.values()){ payloadMap.put(op.getRequestPayloadName(), op); } } else { payloadMap = new QNameMap<EditableWSDLBoundOperation>(); // For doclit The tag will be the operation that has the same input part descriptor value for(EditableWSDLBoundOperation op : bindingOperations.values()){ QName name = op.getRequestPayloadName(); if(name == null){ //empty payload emptyPayloadOperation = op; continue; } payloadMap.put(name, op); } } } }
/** * Copies all of the mappings from the specified map to this map * These mappings will replace any mappings that * this map had for any of the keys currently in the specified map. * * @param map mappings to be stored in this map. * */ public QNameMap<V> putAll(QNameMap<? extends V> map) { int numKeysToBeAdded = map.size(); if (numKeysToBeAdded == 0) return this; if (numKeysToBeAdded > threshold) { int targetCapacity = numKeysToBeAdded; if (targetCapacity > MAXIMUM_CAPACITY) targetCapacity = MAXIMUM_CAPACITY; int newCapacity = table.length; while (newCapacity < targetCapacity) newCapacity <<= 1; if (newCapacity > table.length) resize(newCapacity); } for( Entry<? extends V> e : map.entrySet() ) put(e.nsUri,e.localName,e.getValue()); return this; }
/** * Copies all of the mappings from the specified map to this map * These mappings will replace any mappings that * this map had for any of the keys currently in the specified map. * * @param map mappings to be stored in this map. * */ public QNameMap<V> putAll(QNameMap<? extends V> map) { int numKeysToBeAdded = map.size(); if (numKeysToBeAdded == 0) return this; if (numKeysToBeAdded > threshold) { int targetCapacity = numKeysToBeAdded; if (targetCapacity > MAXIMUM_CAPACITY) targetCapacity = MAXIMUM_CAPACITY; int newCapacity = table.length; while (newCapacity < targetCapacity) newCapacity <<= 1; if (newCapacity > table.length) resize(newCapacity); } for( Entry<? extends V> e : map.entrySet() ) put(e.nsUri,e.localName,e.getValue()); return this; }
/** * Copies all of the mappings from the specified map to this map * These mappings will replace any mappings that * this map had for any of the keys currently in the specified map. * * @param map mappings to be stored in this map. * */ public QNameMap<V> putAll(QNameMap<? extends V> map) { int numKeysToBeAdded = map.size(); if (numKeysToBeAdded == 0) return this; if (numKeysToBeAdded > threshold) { int targetCapacity = numKeysToBeAdded; if (targetCapacity > MAXIMUM_CAPACITY) targetCapacity = MAXIMUM_CAPACITY; int newCapacity = table.length; while (newCapacity < targetCapacity) newCapacity <<= 1; if (newCapacity > table.length) resize(newCapacity); } for( Entry<? extends V> e : map.entrySet() ) put(e.nsUri,e.localName,e.getValue()); return this; }