File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 180 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 410 |
stmt.setInt( 2, write( conn, fill.graphic ) );
} else {
stmt.setNull( 2, INTEGER );
}
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Stroke stroke ) |
File | Line |
---|
org/deegree/style/se/parser/GraphicSymbologyParser.java | 182 |
org/deegree/style/se/parser/SymbologyParser.java | 780 |
public void update( Graphic obj, String val ) {
obj.anchorPointY = Double.parseDouble( val );
}
}, contn ).second;
} else if ( in.isStartElement() ) {
Location loc = in.getLocation();
LOG.error( "Found unknown element '{}' at line {}, column {}, skipping.",
new Object[] { in.getLocalName(), loc.getLineNumber(), loc.getColumnNumber() } );
skipElement( in );
}
}
} else if ( in.getLocalName().equals( "Displacement" ) ) {
while ( !( in.isEndElement() && in.getLocalName().equals( "Displacement" ) ) ) {
in.nextTag();
if ( in.getLocalName().equals( "DisplacementX" ) ) {
contn = context.parser.updateOrContinue( in, "DisplacementX", base, new Updater<Graphic>() { |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 631 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 700 |
stmt.setString( 5, name );
}
stmt.executeUpdate();
conn.commit();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
} finally {
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( conn != null ) {
try {
conn.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
/**
* @param style
* @param name
*/
public void write( Style style, String name ) { |
File | Line |
---|
org/deegree/style/se/parser/GraphicSymbologyParser.java | 205 |
org/deegree/style/se/parser/SymbologyParser.java | 603 |
public void update( Graphic obj, String val ) {
obj.displacementY = Double.parseDouble( val );
}
}, contn ).second;
} else if ( in.isStartElement() ) {
Location loc = in.getLocation();
LOG.error( "Found unknown element '{}' at line {}, column {}, skipping.",
new Object[] { in.getLocalName(), loc.getLineNumber(), loc.getColumnNumber() } );
skipElement( in );
}
}
} else if ( in.isStartElement() ) {
Location loc = in.getLocation();
LOG.error( "Found unknown element '{}' at line {}, column {}, skipping.",
new Object[] { in.getLocalName(), loc.getLineNumber(), loc.getColumnNumber() } );
skipElement( in );
}
} |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 455 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 504 |
stmt.setDouble( 3, styling.perpendicularOffset );
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, PolygonStyling styling ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 182 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 254 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 412 |
stmt.setNull( 2, INTEGER );
}
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Stroke stroke ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 141 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 183 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 255 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 413 |
}
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Fill fill ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 292 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 333 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 373 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 455 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 504 |
stmt.setDouble( 4, font.fontSize );
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, LinePlacement lineplacement ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 142 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 184 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 256 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 294 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 335 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 375 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 415 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 457 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 506 |
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Fill fill ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 182 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 254 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 412 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 565 |
stmt.setNull( 2, INTEGER );
}
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Stroke stroke ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 141 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 566 |
}
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, Fill fill ) |
File | Line |
---|
org/deegree/style/se/parser/PostgreSQLWriter.java | 294 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 335 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 375 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 457 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 506 |
org/deegree/style/se/parser/PostgreSQLWriter.java | 568 |
rs = stmt.executeQuery();
if ( rs.next() ) {
return rs.getInt( 1 );
}
return -1;
} finally {
if ( rs != null ) {
try {
rs.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
if ( stmt != null ) {
try {
stmt.close();
} catch ( SQLException e ) {
LOG.info( "Unable to write style to DB: '{}'.", e.getLocalizedMessage() );
LOG.trace( "Stack trace:", e );
}
}
}
}
private int write( Connection conn, LinePlacement lineplacement ) |