File | Line |
---|
org/deegree/client/sos/utils/Writer.java | 48 |
org/deegree/client/sos/utils/Writer.java | 63 |
org/deegree/client/sos/utils/Writer.java | 78 |
org/deegree/client/sos/utils/Writer.java | 93 |
org/deegree/client/sos/utils/Writer.java | 108 |
org/deegree/client/sos/utils/Writer.java | 123 |
org/deegree/client/sos/utils/Writer.java | 138 |
org/deegree/client/sos/utils/Writer.java | 153 |
org/deegree/client/sos/utils/Writer.java | 168 |
org/deegree/client/sos/utils/Writer.java | 183 |
org/deegree/client/sos/utils/Writer.java | 198 |
for ( OMElement element : storage.getCapabilities() ) {
if ( !element.getText().trim().equals( "" ) ) {
printWriter.write( "<tr><td>" + element.getLocalName() + "</td>" );
printWriter.write( "<td>" + element.getText() + "</td></tr>" );
}
Iterator<OMAttribute> attributes;
for ( attributes = element.getAllAttributes(); attributes.hasNext(); ) {
OMAttribute attribute = attributes.next();
printWriter.write( "<tr><td>" + element.getLocalName() + ": " + attribute.getLocalName() + "</td>" );
printWriter.write( "<td>" + attribute.getAttributeValue() + "</td></tr>" );
}
}
}
if ( storage.getCharacteristics().size() > 0 ) { |
File | Line |
---|
org/deegree/client/sos/SOSClient.java | 165 |
org/deegree/client/sos/SOSClient.java | 212 |
PrintWriter pw = response.getWriter();
new Writer( pw, handler.getStorage() );
pw.flush();
pw.close();
} catch ( IOException e ) {
LOG.error( "Unexpected error:", e.getLocalizedMessage() );
LOG.debug( "Stack trace:", e );
}
} else {
try {
PrintWriter pw = response.getWriter();
new Writer( pw, handler.getException() );
pw.flush();
pw.close();
} catch ( IOException e ) {
LOG.error( "Unexpected error:", e.getLocalizedMessage() );
LOG.debug( "Stack trace:", e );
}
}
}
private void doGetObservation( HttpServletRequest request, HttpServletResponse response ) { |
File | Line |
---|
org/deegree/client/sos/utils/Writer.java | 48 |
org/deegree/client/sos/utils/Writer.java | 63 |
org/deegree/client/sos/utils/Writer.java | 78 |
org/deegree/client/sos/utils/Writer.java | 93 |
org/deegree/client/sos/utils/Writer.java | 108 |
org/deegree/client/sos/utils/Writer.java | 123 |
org/deegree/client/sos/utils/Writer.java | 138 |
org/deegree/client/sos/utils/Writer.java | 153 |
org/deegree/client/sos/utils/Writer.java | 168 |
org/deegree/client/sos/utils/Writer.java | 183 |
org/deegree/client/sos/utils/Writer.java | 198 |
org/deegree/client/sos/utils/Writer.java | 213 |
for ( OMElement element : storage.getCapabilities() ) {
if ( !element.getText().trim().equals( "" ) ) {
printWriter.write( "<tr><td>" + element.getLocalName() + "</td>" );
printWriter.write( "<td>" + element.getText() + "</td></tr>" );
}
Iterator<OMAttribute> attributes;
for ( attributes = element.getAllAttributes(); attributes.hasNext(); ) {
OMAttribute attribute = attributes.next();
printWriter.write( "<tr><td>" + element.getLocalName() + ": " + attribute.getLocalName() + "</td>" );
printWriter.write( "<td>" + attribute.getAttributeValue() + "</td></tr>" );
}
}
} |
File | Line |
---|
org/deegree/client/sos/requesthandler/HandleDescribeSensor.java | 154 |
org/deegree/client/sos/requesthandler/HandleGetObservation.java | 184 |
}
/**
* @return OWSException with containing exceptionCode, locator and exceptionText from the DescribeSensor response
*/
private OWSException parseException() {
OWSException result = new OWSException();
String exceptionCode = "";
String locator = "";
String exceptionText = "";
xpath = new XPath( "descendant::*", nsContext );
List<OMElement> elements = xml.getElements( xml.getRootElement(), xpath );
for ( OMElement element : elements ) {
if ( element.getLocalName().equals( "Exception" ) ) {
exceptionCode = element.getAttribute( new QName( "exceptionCode" ) ).getAttributeValue();
locator = element.getAttribute( new QName( "locator" ) ).getAttributeValue(); |