| | * Opens the XMLATTRIBUTES expression. |
| | * |
| | - * @return ",XMLATTRIBUTES(" ... |
| | + * @return Token containing ",XMLATTRIBUTES(" ... |
| | */ |
| | @Override |
| | public Token getStart() { |
| | - return new Token( hasPrecedingPayload() ? |
| | - String.format( ",%s", |
| | - nextAttribute( |
| | - getTableName(), |
| | - getColumnName(), |
| | - getAttributeName() |
| | - ) |
| | - ) |
| | - : |
| | - String.format( ",%s", |
| | - firstAttribute( |
| | - getTableName(), |
| | - getColumnName(), |
| | - getAttributeName() |
| | - ) |
| | + return new Token( |
| | + String.format( ",%s", hasPrecedingPayload() ? |
| | + nextAttribute( getTableName(), getColumnName(), getAttributeName() ) : |
| | + firstAttribute( getTableName(), getColumnName(), getAttributeName() ) |
| | ) |
| | ); |
| | } |
| | |
| | /** |
| | * Closes the XMLATTRIBUTES expression, should no more attributes be |
| | * forthcoming. |
| | * |
| | - * @return ")" or the empty string. |
| | + * @return Token containing ")" or the empty string. |
| | */ |
| | @Override |