@Test public void testIsGetCapabilitiesRequest() throws XmlException, IOException { XmlObject getCapabilities = getRequest(REQUEST_GET_CAPABILITIES); assertTrue(validatingDelegate.isGetCapabilitiesRequest(getCapabilities)); }
protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); }
XmlValidationDelegate implements RequestDelegationHandler { protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); } }
XmlValidationDelegate implements RequestDelegationHandler { protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); } XmlValidationDelegate(XmlDelegate toDecorate); }
XmlValidationDelegate implements RequestDelegationHandler { protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); } XmlValidationDelegate(XmlDelegate toDecorate); XmlObject delegate(); }
XmlValidationDelegate implements RequestDelegationHandler { protected boolean isGetCapabilitiesRequest(XmlObject request) { XmlCursor xmlCursor = request.newCursor(); xmlCursor.toFirstChild(); String operationName = xmlCursor.getName().getLocalPart(); return operationName.equalsIgnoreCase("GetCapabilities"); } XmlValidationDelegate(XmlDelegate toDecorate); XmlObject delegate();  }