try { String theID = attrs.getValue( DesignSchemaConstants.ID_ATTRIB );  if ( !StringUtil.isBlank( theID ) ) {   long id = Long.parseLong( theID ); getElement( ).setID( id ); } } catch ( NumberFormatException e ) { handler .getErrorHandler( ) .semanticError( new DesignParserException( new String[]{ getElement( ).getIdentifier( ), attrs .getValue( DesignSchemaConstants.ID_ATTRIB )}, DesignParserException.DESIGN_EXCEPTION_INVALID_ELEMENT_ID ) ); } if ( !addToSlot( container, slotID, group ) ) return;
initSimpleElement( attrs );
	public void parseAttrs( Attributes attrs ) throws XMLParserException	{		// get the "id" of the element		try		{			String theID = attrs.getValue( DesignSchemaConstants.ID_ATTRIB );			if ( !StringUtil.isBlank( theID ) )			{				// if the id is not null, parse it				long id = Long.parseLong( theID );				getElement( ).setID( id );			}		}		catch ( NumberFormatException e )		{			handler					.getErrorHandler( )					.semanticError(							new DesignParserException(									new String[]{											getElement( ).getIdentifier( ),											attrs													.getValue( DesignSchemaConstants.ID_ATTRIB )},									DesignParserException.DESIGN_EXCEPTION_INVALID_ELEMENT_ID ) );		}		if ( !addToSlot( container, slotID, group ) )			return;	}